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:
Thomas Lovén 2020-09-18 09:51:23 +02:00 committed by GitHub
parent 0556667881
commit 3dade90d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}