Yaml special characters I don't understand, like " > " " >- " " | "

Hi!

Can please someone enlighten me with these characters? I don’t understand how many there are and what is the purpose for each one…

Like in this code, for example:

service: notify.mobile_app_vog_l29
data:
  message: Test
  data:
    image: >-
      https://img.freepik.com/free-vector/warning-yellow-black-colors_1017-30754.jpg

That combination of two symbols " >- ", what does that mean? And how many other this kind of symbols exists in home assistant and what’s the purpose?
I always use them , but always I put what I guess will work, I never know exactly which one…

Thank you in advance!

There’s an explanation and a demo you can try here:

https://yaml-multiline.info/

2 Likes

You saved me again, thank you!
I think more than 80% of my less or more stupid questions, you were here. Again, Thank you! :handshake: