Correct using of " or ' or none of both

Hello All,

Maybe a stupid question. But in the cookbook i read different way of using for example:

name: 'light livingroom'
or
name: "light livingroom"
or
name: light livingroom

Can someone tell me what is the right way? Im now using the ’ instead of "

Assuming this is YAML, it doesn’t matter. They all will have the same result. If you’re not sure, try using a YAML parsing site. I’ve used http://yaml-online-parser.appspot.com/ often.

It can get a bit more complicated, especially when mixing quotes, e.g. when using templates, or using multi-line YAML.

1 Like

Thanks. Then I’ll use them with in all my scripts with ’
for cosmetic nice scripts always the same way