Home Assistant Blueprints
Aivi provides a set of Home Assistant blueprints that help you connect Home Assistant
devices and automations to Live Activities. They handle the “plumbing” - watching
entities for changes and calling rest_command.update_live_activity with the right
payload - so you can get a working Live Activity in a few clicks.
Prerequisites
Section titled “Prerequisites”These blueprints call rest_command.update_live_activity, which you need to
add to your Home Assistant configuration.
-
Open your Home Assistant
configuration.yaml. -
Add the
rest_commandbelow:rest_command:update_live_activity:url: 'https://api.getaivi.app/activity/{{ slug }}'method: PATCHheaders:content-type: application/jsonauthorization: Token [token]payload: '{{ payload }}' -
Reload your Home Assistant configuration.
Versioning
Section titled “Versioning”Blueprints are versioned using a suffix like -v1 (for example, timer-v1).
- Stability: Updates within the same major version (e.g.
v1) are intended to be backwards compatible. - Breaking changes: If we need to change inputs or behavior in a breaking way, we’ll
publish a new major version (e.g.
-v2) alongside the old one so existing automations keep working. - Upgrades: To move to a new major version, import the newer blueprint and reselect your entities/inputs in the automation editor (Home Assistant does not auto-migrate blueprint input mappings across breaking changes).
Available blueprints
Section titled “Available blueprints”Below you will find the documentation for the available blueprints.
Progress + ETA (from sensors)
Section titled “Progress + ETA (from sensors)”Use this when your device exposes:
- A binary “running” entity (on/off)
- A progress sensor (0–100)
- Optionally, an ETA sensor (timestamp or duration) and/or a human-readable state sensor (“Washing”, “Drying”, …)
If any of the entities exposed by the device you want to integrate are not compatible with the blueprint inputs, we recommend using helpers to adapt them. For example, if your device does not expose a binary “running” state, you can create a Template Binary Sensor helper that adapts a device state (for example, a text value) and transforms it into a binary sensor.
Timer (from a timer helper)
Section titled “Timer (from a timer helper)”This blueprint enables posting Live Activities based on a Home Assistant timer. It will automatically synchronize the Live Activity state based on the timer’s progress, and supports pausing/resuming the timer as well as cancelling it.
Source code
Section titled “Source code”The source code for all blueprints is available on GitHub at getaivi/ha-blueprints.