Fix kitchen lights off
This commit is contained in:
parent
4c769240fa
commit
8729261f6f
1 changed files with 6 additions and 4 deletions
|
@ -115,10 +115,12 @@
|
|||
entity_id: binary_sensor.kitchen_motion_sensor
|
||||
state: 'off'
|
||||
for: '0:02:00'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.kitchen_worktop_accelerometer
|
||||
state: 'off'
|
||||
for: '0:02:00'
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.kitchen_worktop_accelerometer
|
||||
state: 'off'
|
||||
for: '0:02:00'
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: light.kitchen_lights
|
||||
|
|
Loading…
Reference in a new issue