Bedroom motion turn off lights only when alarm is disarmed
This commit is contained in:
parent
b792037433
commit
186f8beb78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user