This commit is contained in:
Pascal Vizeli
2017-06-15 00:04:21 +02:00
parent 0af4be2e24
commit 2bb1310c7c

View File

@@ -294,6 +294,10 @@ def async_setup(hass, config):
entity_ids = service.data[ATTR_ENTITIES] entity_ids = service.data[ATTR_ENTITIES]
yield from group.async_update_tracked_entity_ids(entity_ids) yield from group.async_update_tracked_entity_ids(entity_ids)
if ATTR_NAME in service.data:
group.name = service.data[ATTR_NAME]
need_update = True
if ATTR_VISIBLE in service.data: if ATTR_VISIBLE in service.data:
group.visible = service.data[ATTR_VISIBLE] group.visible = service.data[ATTR_VISIBLE]
need_update = True need_update = True