You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config editor for Automation and Scripts messes up with templates
It changes " (double mark) to ' (one single mark)
and
' (one single mark) to '' (two single marks)
which causes value_template or any other template invalid (no errors but doesn't work)
Also if value_template or any other template is very long, it adds \n and whitespaces with messed up quote marks
Environment
Home Assistant release with the issue: 0.107.6
Last working Home Assistant release (if known): none
Hey there @home-assistant/core, mind taking a look at this issue as its been labeled with a integration (config) you are listed as a codeowner for? Thanks!
The problem
Config editor for Automation and Scripts messes up with templates
It changes " (double mark) to ' (one single mark)
and
' (one single mark) to '' (two single marks)
which causes value_template or any other template invalid (no errors but doesn't work)
Also if value_template or any other template is very long, it adds \n and whitespaces with messed up quote marks
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
Also with this too:
The text was updated successfully, but these errors were encountered: