I’m totally new to HA and Yaml. I’m on Raspberry, home assistant os 5.13, core-2021.6.2
I’m trying to set-up a simple automation related to Sun integration. I’ve copy-pasted some examples, set as “working code”, I found on the forum but I’m always getting different errors like
Message malformed: extra keys not allowed @
or
Message malformed: not a valid value for dictionary value @
or
Message malformed: expected dictionary
I’ve tryied to pay attention to indentation as some posts suggested but i’m still having troubles.
Could somebody give me an example to automate an entity id “light.led” to turn on at sunset with an offset?