mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Quotes around jinja templates (#14545)
The ones around `entity_id` aren't necessary, but it's better to put them in than to try to explain why not.
This commit is contained in:
parent
0556667881
commit
3dade90d05
@ -152,8 +152,8 @@ intent_script:
|
|||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: light.{{ objectLocation | replace(" ","_") }}
|
entity_id: 'light.{{ objectLocation | replace(" ","_") }}'
|
||||||
color_name: {{ objectColor }}
|
color_name: '{{ objectColor }}'
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user