diff --git a/lib/entity_collection.class.dart b/lib/entity_collection.class.dart index f07c95a..6154f2a 100644 --- a/lib/entity_collection.class.dart +++ b/lib/entity_collection.class.dart @@ -129,7 +129,7 @@ class EntityCollection { List groups = []; List nonGroupEntities = []; _allEntities.forEach((id, entity){ - if (entity.isGroup && (entity.attributes['auto'] == null || !entity.attributes['auto']) && (!entity.isView)) { + if (entity.isGroup && (entity.attributes['auto'] == null || (entity.attributes['auto'] && !entity.isHidden)) && (!entity.isView)) { groups.add(entity); } if (!entity.isGroup) {