Only save the valid entities in the group entity_ids attribute
This commit is contained in:
parent
40cde1f836
commit
81be3811dc
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ def setup_group(hass, name, entity_ids, user_defined=True):
|
|||
|
||||
group_entity_id = ENTITY_ID_FORMAT.format(util.slugify(name))
|
||||
state = group_on if group_state else group_off
|
||||
state_attr = {ATTR_ENTITY_ID: entity_ids, ATTR_AUTO: not user_defined}
|
||||
state_attr = {ATTR_ENTITY_ID: group_ids, ATTR_AUTO: not user_defined}
|
||||
|
||||
# pylint: disable=unused-argument
|
||||
def update_group_state(entity_id, old_state, new_state):
|
||||
|
|
Loading…
Add table
Reference in a new issue