Skip to content
Discussion options

You must be logged in to vote

Good question! It doesn't need quotes, it's just that that yaml is internally stored as json and when home assistant transforms it back to yaml it some times adds it back.
I think it's a quirk of the yaml stringifier, probably because y can also mean true (from yes).
The json intermediate also explains why comments get wiped and yaml anchors are expanded.

In a nutshell: no keys need to be quotes, nothing to worry about :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Spectre5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants