Create, edit, or delete automations in the YAML file your configuration.yaml routes automations to. Split configurations (!include and !include_dir_* layouts) are followed to the correct leaf file and only the target entry's lines are rewritten: comments, formatting, and !secret references elsewhere in the file are preserved byte-for-byte. New automations are appended for a plain !include, or written as a new file per entry for directory includes. Ambiguous cases (duplicate ids across files, entries in packages or inline config, multiple create targets) are refused rather than guessed at.
- create
config(required), an object holdingalias,trigger,action, plus optionalcondition,mode- edit / delete
automation_id(the slug); edit replaces the entire config