Resolves #443 Lovelace view as panel support

This commit is contained in:
estevez-dev
2019-09-07 17:58:00 +03:00
parent d2049b726a
commit c90c40c046
3 changed files with 30 additions and 10 deletions

View File

@ -4,16 +4,18 @@ class HAView {
List<HACard> cards = [];
List<Entity> badges = [];
Entity linkedEntity;
String name;
String id;
String iconName;
int count;
final String name;
final String id;
final String iconName;
final int count;
final bool panel;
HAView({
this.name,
this.id,
this.count,
this.iconName,
this.panel: false,
List<Entity> childEntities
}) {
if (childEntities != null) {