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