Helper lights and Fancy stuff when opening and losing the pantry

This commit is contained in:
CCOSTAN 2016-11-21 23:05:37 +00:00
parent 846fac348a
commit 3ab4426af4

View File

@ -38,7 +38,7 @@
trigger: trigger:
- platform: state - platform: state
entity_id: light.k4 entity_id: light.k4
state: on state: 'on'
for: '00:20:00' for: '00:20:00'
- platform: event - platform: event
event_type: zwave.node_event event_type: zwave.node_event
@ -49,7 +49,7 @@
condition: condition:
condition: state condition: state
entity_id: light.k1 entity_id: light.k1
state: off state: 'off'
action: action:
- service: light.turn_off - service: light.turn_off