From f24e9597fe8daab53c96182319c805d2520f4eeb Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 14 Aug 2014 12:46:19 +0200 Subject: [PATCH] Group component converts given entity ids to a list prior processing --- homeassistant/components/group.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/group.py b/homeassistant/components/group.py index 0bf336c8e1d..e3ac63506ec 100644 --- a/homeassistant/components/group.py +++ b/homeassistant/components/group.py @@ -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