1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-03 00:21:56 +00:00

[substitutions] fix jinja parsing strings that look like sets as sets (#11611)

This commit is contained in:
Javier Peletier
2025-10-31 20:04:55 +01:00
committed by GitHub
parent fd64585f99
commit 6d0527ff2a
3 changed files with 10 additions and 2 deletions

View File

@@ -33,3 +33,4 @@ test_list:
{{{ "x", "79"}, { "y", "82"}}}
- '{{{"AA"}}}'
- '"HELLO"'
- '{ 79, 82 }'

View File

@@ -34,3 +34,4 @@ test_list:
{{{ "x", "${ position.x }"}, { "y", "${ position.y }"}}}
- ${ '{{{"AA"}}}' }
- ${ '"HELLO"' }
- '{ ${position.x}, ${position.y} }'