1
0

Bedroom motion turn off lights only when alarm is disarmed

This commit is contained in:
Przemek Grondek 2021-01-18 23:28:54 +01:00
parent b792037433
commit 186f8beb78

View File

@ -28,6 +28,10 @@
for: '0:02:00'
from: 'on'
to: 'off'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: disarmed
action:
- service: light.turn_off
entity_id: light.bedroom_lights