Skip to content

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.

These blueprints call rest_command.update_live_activity, which you need to add to your Home Assistant configuration.

  1. Open your Home Assistant configuration.yaml.

  2. Add the rest_command below:

    rest_command:
    update_live_activity:
    url: 'https://api.getaivi.app/activity/{{ slug }}'
    method: PATCH
    headers:
    content-type: application/json
    authorization: Token [token]
    payload: '{{ payload }}'
  3. Reload your Home Assistant configuration.

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).

Below you will find the documentation for the available blueprints.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.
Version v1

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.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.
Version v1

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.

The source code for all blueprints is available on GitHub at getaivi/ha-blueprints.