Device_sun_light_trigger: bug fix for wrong turn_off call
This commit is contained in:
parent
3618181bce
commit
77c56b704b
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def setup(bus, statemachine, light_group=None):
|
|||
logger.info(
|
||||
"Everyone has left but there are devices on. Turning them off")
|
||||
|
||||
light.turn_off(bus, statemachine)
|
||||
light.turn_off(bus)
|
||||
|
||||
# Track home coming of each seperate device
|
||||
for entity in device_entity_ids:
|
||||
|
|
Loading…
Add table
Reference in a new issue