Updates alarm_control_panel Example (#1688)

The example was out of date using 'platform: state' in the condition, instead of 'condition: state'
This commit is contained in:
Georgi Kirichkov 2017-01-03 20:49:13 +02:00 committed by Fabian Affolter
parent 73a8a3e883
commit 2a7fb42ae1
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -54,7 +54,7 @@ automation:
entity_id: sensor.window
state: 'open'
condition:
- platform: state
- condition: state
entity_id: alarm_control_panel.ha_alarm
state: armed_away
action: