Resolves #121 Markdown card support

This commit is contained in:
Yegor Vialov
2019-01-23 23:34:45 +02:00
parent be5ea55f6b
commit 1c8f770f10
9 changed files with 54 additions and 14 deletions

View File

@ -439,7 +439,8 @@ class HomeAssistant {
showName: isThereCardOptionsInside ? rawCard["card"]['show_name'] ?? true : rawCard['show_name'] ?? true,
showState: isThereCardOptionsInside ? rawCard["card"]['show_state'] ?? true : rawCard['show_state'] ?? true,
showEmpty: rawCard['show_empty'] ?? true,
stateFilter: rawCard['state_filter'] ?? []
stateFilter: rawCard['state_filter'] ?? [],
content: rawCard['content']
);
if (rawCard["cards"] != null) {
card.childCards = _createLovelaceCards(rawCard["cards"]);