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:
parent
5bf47768f2
commit
2ddeb7bde3
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ automation:
|
||||||
condition:
|
condition:
|
||||||
condition: state
|
condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: home
|
state: 'home'
|
||||||
action:
|
action:
|
||||||
service: light.turn_on
|
service: light.turn_on
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ automation:
|
||||||
condition:
|
condition:
|
||||||
condition: state
|
condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: home
|
state: 'home'
|
||||||
action:
|
action:
|
||||||
service: light.turn_on
|
service: light.turn_on
|
||||||
entity_id: group.living_room
|
entity_id: group.living_room
|
||||||
|
@ -93,7 +93,7 @@ automation:
|
||||||
condition:
|
condition:
|
||||||
condition: state
|
condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: home
|
state: 'home'
|
||||||
action:
|
action:
|
||||||
service: homeassistant.turn_on
|
service: homeassistant.turn_on
|
||||||
entity_id: group.living_room
|
entity_id: group.living_room
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue