Initial_state: 'on' or initial_state: true, same or different?

initial_state: ‘on’ or initial_state: true

Are these two the same or do the they something different…? I’m confused by the documentation?

Many thanks

J

Im confused too, but true worked for me

On is no longer valid… even if it works now it soon won’t so switch to true.

Also give a link to the confusing documentation…
(if it’s this one here https://www.home-assistant.io/components/automation/ I just submitted a PR to correct it)

Where is that documented/decided? although ‘on’ would be best of course, and most humanely logical, up to now any of the booleans on/yes/true off/no/false did the job…

It changed in a recent update… I think it was a YAML change…

i see, thanks. too bad really, one more step away from a human centered interface. “Is your automation on or not?” yes, it is True…

I totally agree. ‘True’ should not be an option here. Completely stupid

The link you shared is where I was confused. Since I was confused I couldn’t submit a PR for it. Thanks for fixing it!

PR was just merged so will be in next build.

1 Like

Thanks for clarifying. As long as the documentation is consistent, I can deal with that. Appreciate you submitted the correction.

J