Home AssistantHome AssistantContributors
In code
automationautomations.yaml
Also
automations

Users build automations in the UI or write them in YAML. Under the hood, an automation is an entity too: it can be turned off, and it remembers when it last ran.