For the complete documentation index, see llms.txt. This page is also available as Markdown.

Notification Actions

Learn how to set up custom notification actions for LLM Vision notifications.

Since version 1.8.0 the LLM Vision blueprint supports custom notification_actions. These show up as buttons below the notification and allow you to quickly trigger relevant actions.

See the official Home Assistant documentation for the notification action syntax below. Note that supported features vary between iOS and Android.

https://companion.home-assistant.io/docs/notifications/actionable-notifications/

Listening for Actions

Adding the actions simply creates an event, which can be used as triggers for another automation. It is recommended that you create a separate automation, which listens for these events and performs the actions. Use the automation below as a starting point:

Example automation
alias: Listen for LLM Vision notification actions
mode: parallel

trigger:
  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: LLMVISION_DISARM_ALARM
    id: disarm

  - platform: event
    event_type: mobile_app_notification_action
    event_data:
      action: LLMVISION_ON_WAY
    id: on_way

action:
  - choose:
      - conditions: "{{ trigger.id == 'disarm' }}"
        sequence:
          - action: alarm_control_panel.alarm_disarm
            target:
              entity_id: alarm_control_panel.home

      - conditions: "{{ trigger.id == 'on_way' }}"
        sequence:
          - action: script.notify_on_our_way

Last updated