Bugfix: all lights would turn on instead of specified group if person came home.

This commit is contained in:
Paulus Schoutsen 2014-01-04 18:16:16 -08:00
parent 48026c28c1
commit ac912b2d2d

View File

@ -105,7 +105,8 @@ def setup(bus, statemachine, light_group=None):
"Home coming event for {}. Turning lights on".
format(category))
light.turn_on(bus)
for light_id in light_ids:
light.turn_on(bus, light_id)
# Are we in the time span were we would turn on the lights
# if someone would be home?