mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Merge pull request #64 from trainman419/correct_lights_off
Turn off correct lights
This commit is contained in:
commit
5db6f81f9c
@ -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…
x
Reference in New Issue
Block a user