mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Group component converts given entity ids to a list prior processing
This commit is contained in:
parent
997c2e8ef6
commit
f24e9597fe
@ -107,6 +107,9 @@ def setup_group(hass, name, entity_ids):
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# In case an iterable is passed in
|
||||
entity_ids = list(entity_ids)
|
||||
|
||||
# Loop over the given entities to:
|
||||
# - determine which group type this is (on_off, device_home)
|
||||
# - if all states exist and have valid states
|
||||
|
Loading…
x
Reference in New Issue
Block a user