Skip to content

Notifications

chochb edited this page Nov 29, 2026 · 3 revisions

Notifications and live activities

Each display gets a notify service notify.hapanel_<display> in the Companion App format – automations written for notify.mobile_app_* work with few or no changes.

action: notify.hapanel_kitchen
data:
  title: Front door
  message: Someone rang the bell
  data:
    tag: doorbell
    notification_icon: mdi:doorbell
    color: "#ff9800"
    image: /api/camera_proxy/camera.front_door
    actions:
      - action: OPEN_DOOR
        title: Open

Supported data fields

Field Effect
tag replaces a notification with the same tag; needed for clear_notification and live updates
notification_icon, color icon and colour of the banner
image picture in the banner (HA path or URL)
actions buttons (action, title, uri); pressing fires mobile_app_notification_action like the Companion App
sticky, timeout stays until dismissed / disappears after n seconds
importance / priority high notifications still sound when the sound is set to important only
sound true / false per notification
live_update, progress, progress_max live activity with progress bar
chronometer, when, when_relative live activity with countdown
tap_action, hold_action like in the dashboard: navigate, more-info, toggle, perform-action, url; or clickAction / longClickAction as text (path, entityId:<id>, #pop-up)
entity_id (or clickAction: entityId:<id>) tap opens the view that shows the entity and its more-info dialog

Special messages: clear_notification (with data.tag), command_screen_on, command_screen_off. Swiping a notification away fires mobile_app_notification_cleared.

While a display is offline, notifications are kept in HA and delivered when it reconnects.

Live activity example

action: notify.hapanel_kitchen
data:
  title: Washing machine
  message: 40 min left
  data:
    tag: washer
    live_update: true
    progress: 60
    progress_max: 100
    notification_icon: mdi:washing-machine

Send again with the same tag to update it; message: clear_notification ends it.

On the display

  • Banners appear at the top in your theme. Several open ones stack like on iOS; tap the stack to unfold it (count, less, clear all).
  • While live activities run, a glow bar lights up at the top edge (pulse, glow, line or off). Tap it or swipe down on it to show them again.
  • Swipe half left for mute and delete, fully left to delete. Swiping up/down/right only hides.
  • Hold a notification (without hold_action) to mute: this one, all running ones, or all for 15 min, 1 h, 4 h or until 7 am. Muted = no banner, no sound, no wake-up.

Settings

On the display: settings page › Notifications (position top/middle/bottom, distance to the edge, swipe directions, sound off/important/always, wake the screen, display time, glow bar style, test sound). In HA: switch Mute notifications, sensor Notifications (number of open notifications).

Clone this wiki locally