Automation isn't ever 'read' by HA?

Anyone ever experienced an automation just not show up in developer tools and also never run? I have just had this. To resolve I cut and pasted it to a separate area within my automations, reloaded automations, and voilà, it’s read and activated.

Weird.

how you load automation in your configuration.yaml and what do you mean by “separate area” (within the same file or to a different file or folder?

long time ago when i split my configuration i accidentally created an automation, that I wanted to test briefly, in the still existing automation.yaml file. However, my automations were loaded from the automation folder like:

automation: !include_dir_merge_list automation/

HA couldn’t load it like this, of course.

I just mean the automation which was located, say, between lines 180 and 186 didn’t get loaded but if I moved it to between 195 and 201 then it did get loaded. Bizarre, I agree.

i remember this kind of problem when i used to have all my automations in automations.yaml and used both, UI (to edit and create automations) and File Editor to edit automations.yaml directly, wich is not recommended https://www.home-assistant.io/docs/automation/yaml/