Make group component more flexible

This commit is contained in:
Paulus Schoutsen committed 2015-01-08 20:02:34 -08:00
1 parent f5683797aa
commit e0b424c88f
6 files changed
+106 -115

No files matched your search

+1 -2
View File
@@ -178,8 +178,7 @@ def setup(hass, config):
update_lights_state(None)
# Track all lights in a group
group.setup_group(
hass, GROUP_NAME_ALL_LIGHTS, lights.keys(), False)
group.Group(hass, GROUP_NAME_ALL_LIGHTS, lights.keys(), False)
def handle_light_service(service):
""" Hande a turn light on or off service call. """