mirror of
https://github.com/home-assistant/core.git
synced 2025-08-17 19:41:45 +02:00
add name
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user