i’m developing my own HA web client, part of which includes creating automations.
i can’t find any API docs on the REST endpoint for doing so. inspecting the network requests from the existing automation editor in HASS UI shows that it’s a POST to /api/config/automation/config/<a_generated_id> with a JSON object as the payload.
i can work with that, but is there official documentation? is this api stable?
in fact i’d prefer to create automations via the websocket api, but when i query /api/services, the services available under the automations domain are reload/toggle/trigger/turn_off/turn_on . is there a service call available to create/edit an automation?