Added quotes around states in examples (#870)

These examples in the tutorial didn't actually work - adding the quote marks around the state names fixed it.
This commit is contained in:
Thomas Wilson 2016-08-31 03:08:22 +08:00 committed by Fabian Affolter
parent 5bf47768f2
commit 2ddeb7bde3

View File

@ -37,7 +37,7 @@ automation:
condition:
condition: state
entity_id: group.all_devices
state: home
state: 'home'
action:
service: light.turn_on
```
@ -66,7 +66,7 @@ automation:
condition:
condition: state
entity_id: group.all_devices
state: home
state: 'home'
action:
service: light.turn_on
entity_id: group.living_room
@ -93,7 +93,7 @@ automation:
condition:
condition: state
entity_id: group.all_devices
state: home
state: 'home'
action:
service: homeassistant.turn_on
entity_id: group.living_room