mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +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:
|
||||||
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…
x
Reference in New Issue
Block a user