mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +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:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
entity_id: light.{{ objectLocation | replace(" ","_") }}
|
||||
color_name: {{ objectColor }}
|
||||
entity_id: 'light.{{ objectLocation | replace(" ","_") }}'
|
||||
color_name: '{{ objectColor }}'
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user