diff --git a/lib/home_assistant.class.dart b/lib/home_assistant.class.dart index de679f8..ff32eb1 100644 --- a/lib/home_assistant.class.dart +++ b/lib/home_assistant.class.dart @@ -225,7 +225,7 @@ class HomeAssistant { columnsCount: rawCardInfo['columns'] ?? 4, showName: rawCardInfo['show_name'] ?? true, showState: rawCardInfo['show_state'] ?? true, - showEmpty: rawCardInfo['show_empty'] ?? true, + showEmpty: (rawCardInfo['show_empty'] ?? rawCard['show_empty']) ?? true, stateFilter: (rawCard['state_filter'] ?? rawCardInfo['state_filter']) ?? [], states: rawCardInfo['states'], conditions: rawCard['conditions'] ?? [],