vscode-home-assistant
vscode-home-assistant copied to clipboard
render template: show errors in output
Currently if a template has errors, they are silently ignored in the 'render template' command.
For example:
[9:14:21 PM] Rendering template:
result: {{ "bad" < 1}}
Result:
It would be nice if this instead showed
[9:14:21 PM] Rendering template:
result: {{ "bad" < 1}}
Error:
TypeError: '<' not supported between instances of 'str' and 'int'
how do I use this "render template" command? I'm not seeing it in the context menu?