When to use '-' in yaml files?

Thank you! I understand that now… next will be to see if i can figure out when HA needs lists or not… which as I “play” with it more, I think i’m getting the handle of.