Update automation_flashing_lights.markdown (#590)

This commit is contained in:
Dani 2016-06-28 06:43:39 +02:00 committed by Paulus Schoutsen
parent 8dc0c9373f
commit a833efa18a

View File

@ -25,10 +25,10 @@ automation:
entity_id: binary_sensor.PIR1 entity_id: binary_sensor.PIR1
state: 'on' state: 'on'
condition: condition:
- platform: state - condition: state
entity_id: switch.AlmAct1 entity_id: switch.AlmAct1
state: 'on' state: 'on'
- platform: state - condition: state
entity_id: script.alarm_room1 entity_id: script.alarm_room1
state: 'off' state: 'off'
action: action:
@ -52,7 +52,7 @@ automation:
entity_id: switch.REL1 entity_id: switch.REL1
state: 'off' state: 'off'
condition: condition:
platform: state condition: state
entity_id: switch.AlmSnd1 entity_id: switch.AlmSnd1
state: 'off' state: 'off'
action: action: