The automation to add.
The observable automation that was added.
Adds a property to the store dynamically.
The name of the property to add.
The initial value of the property.
Clears all automation data from the store.
Deletes automations from the store.
Array of automation IDs to delete.
Fetches the next page of automations if available.
Gets an automation by ID from all lists.
The automation ID.
The automation object if found.
Gets automations for a specific node (only node-based automations).
The node ID.
Array of node automations for the node.
Gets daylight automations for a specific location.
The location coordinates.
Array of daylight automations for the location.
Gets weather automations for a specific location.
The location coordinates.
Array of weather automations for the location.
Processes the automation response and updates the store.
The response from the automation API.
The processed response.
Sets the list of automations in the store, organizing them by event type.
The list of automations to set.
Sets the automation list with pre- and post-processing hooks.
The list of automations to set.
GPT Context: This function allows developers to inject custom logic before and after setting the automation list.
Sets geo coordinates in the store.
The geo coordinates to set.
Syncs the automation list from the cloud.
Updates an automation in the store.
The ID of the automation to update.
The update data.
Updates multiple automations at once.
Array of automation updates.
Adds a new automation to the store and makes it observable.