I’m totally new at this (but have a programmer background)
I’m trying the most basic thing that I could come up with. A “Hello world” for automations.
To toggle a hue lamp every minute.
To see if I can get an automation working.
Do I need to do something to reload an automation after I change it?
In the automation tab it still has the old naming, but if I click in the pen, it is changed.
What do I need to do to get HA to understand that I’ve changed it?
Since you have to reload your automation.yaml and other *.yaml regularly after editing, you might find the shortcut system helpful:
just type cr in your Home Assistant UI, then hit <enter> to reload automations (top of the list that pops up) or pick any of the other configuration sections you want to reload from the list.
Probably because the configs would be invalid/broken most of the time while editing. It’s much more convenient to validate/debug the config after editing, then reload (very quick shortcuts) than to have your whole system become dysfunctional while editing. (And, in the no so distant past, reloading configs could be very slow - it is one of the areas where there have been very substantial performance improvements.)
(Note however that Python scripts do update continuously while editing and that if they are called in the middle of editing will often fail and generate errors.)