WTH - Template syntax/validation in developper tools

I got some good results in developper tools but when I tried to implement this into a template of an automation, well It’s sometimes nok due to syntax issues.

I would be nice to have a kind of template validation tool :slight_smile:

The template editor is the validation engine. If it’s not working when you paste it into the UI, then it’s one of the 3 following issues:

  1. If you’re pasting into a condition, testing the condition will not work. Do not use that button as it does not work for templates. (already a WTH)
  2. You’re pasting into yaml without wrapping it in quotes if it’s a single line template.
  3. You’re pasting into yaml without using the multiline yaml notation if its a multiline template.
1 Like