Fix dashboard switching and dashboard icons

This commit is contained in:
Yegor Vialov
2020-03-20 10:14:14 +00:00
parent 5ced01463f
commit 8e31eaf8bb
4 changed files with 17 additions and 18 deletions

View File

@ -47,7 +47,7 @@ class HACard {
List<EntityWrapper> getEntitiesToShow() {
return entities.where((entityWrapper) {
if (!ConnectionManager().useLovelace && entityWrapper.entity.isHidden) {
if (HomeAssistant().autoUi && entityWrapper.entity.isHidden) {
return false;
}
List currentStateFilter;