Turn off correct lights
Only turn off the lights specified in the sun light trigger. I use this to turn off my bedroom lights when I leave, even if my housemates are still home.
This commit is contained in:
parent
0b8fea923a
commit
730faed757
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ def setup(hass, config):
|
|||
logger.info(
|
||||
"Everyone has left but there are lights on. Turning them off")
|
||||
|
||||
light.turn_off(hass)
|
||||
light.turn_off(hass, light_ids)
|
||||
|
||||
# Track home coming of each device
|
||||
hass.states.track_change(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue