Fix icons for entity button

This commit is contained in:
Yegor Vialov
2018-12-25 11:48:37 +02:00
parent d3c1422b9e
commit c65ade9827
3 changed files with 4 additions and 2 deletions

View File

@ -470,6 +470,8 @@ class HomeAssistant {
Entity e = entities.get(en);
card.linkedEntityWrapper = EntityWrapper(
entity: e,
icon: rawCard["icon"],
displayName: rawCard["name"],
uiAction: EntityUIAction(rawEntityData: rawCard)
);
}