This commit is contained in:
Yegor Vialov
2018-11-14 19:52:17 +02:00
parent 874410964d
commit 25bf10a64e
11 changed files with 123 additions and 10 deletions

View File

@ -411,7 +411,8 @@ class HomeAssistant {
HACard card = HACard(
id: "card",
name: rawCard["title"],
type: rawCard['type']
type: rawCard['type'],
columnsCount: rawCard['columns'] ?? 4,
);
rawCard["entities"]?.forEach((rawEntity) {
if (rawEntity is String) {