WIP #206 Entity button card

This commit is contained in:
Yegor Vialov
2018-11-25 17:33:33 +02:00
parent 4492fb9f0c
commit 5633e30448
9 changed files with 124 additions and 39 deletions

View File

@ -433,7 +433,7 @@ class HomeAssistant {
} else {
HACard card = HACard(
id: "card",
name: rawCard["title"],
name: rawCard["title"] ?? rawCard["name"],
type: rawCard['type'],
columnsCount: rawCard['columns'] ?? 4,
showName: rawCard['show_name'] ?? true,