mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
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
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user