Resolves #501 Entities card header toggle

This commit is contained in:
Yegor Vialov
2020-02-19 10:17:08 +00:00
parent 710de9f2b8
commit 14c272af92
6 changed files with 38 additions and 5 deletions

View File

@ -221,6 +221,7 @@ class HomeAssistant {
type: rawCardInfo['type'] ?? CardType.ENTITIES,
columnsCount: rawCardInfo['columns'] ?? 4,
showName: (rawCardInfo['show_name'] ?? rawCard['show_name']) ?? true,
showHeaderToggle: (rawCardInfo['show_header_toggle'] ?? rawCard['show_header_toggle']) ?? true,
showState: (rawCardInfo['show_state'] ?? rawCard['show_state']) ?? true,
showEmpty: (rawCardInfo['show_empty'] ?? rawCard['show_empty']) ?? true,
stateFilter: (rawCard['state_filter'] ?? rawCardInfo['state_filter']) ?? [],