WTH, Template Switch doesn't support variables

Like title says, seems that Variables action doesn’t work in Template Switch ‘turrn_on’ and ‘turn_off’.

Yes they do, please post your yaml

EDIT: They even work in the UI editor version as well.

Ok.

I give up. Creating YAML code with tablet is hell. I prefer to use packages folder before I mess with configuration.yaml.

I can see the yaml in that deleted post, and it’s not valid because of

            - sequence:

and message_title and plain_message and html_mesage all need 1 indent.

Ok. Thank you.