Last Updated:

Configurable Persistent Notifications in Home Assistant

S.C.O.R.E.ConvenienceDeviceControl

Overview

Homeowners often need a reliable way to receive notifications about important home events. The new feature allows users to configure persistent notifications that remain visible until acknowledged, ensuring critical alerts are not missed.

Convenience icon

Benefits

  • Stay informed about home security events, such as doorbell rings or motion detected.
  • Receive reminders for routine tasks, like changing air filters or scheduling maintenance.
  • Enhance communication within the household by sharing updates with family members through notifications.

Intent

This capability aims to improve home monitoring by providing persistent notifications for various events. The outcome is a more informed household where important alerts are easily accessible and acknowledged.

Preconditions

  • Home Assistant installed and configured.
  • Devices or integrations capable of triggering notifications (e.g., motion sensors, door sensors).
  • User permissions set for notification management.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Energy Monitoring.

Actors

  • Homeowner managing alerts
  • Family members responding to notifications
  • Guests needing awareness of home status

Trigger

The capability is triggered by specific events, such as sensor activity or scheduled reminders, which prompt the creation of a persistent notification.

Workflow Diagram

flowchart TD
    A[Sensor Triggered] -->|check| B{Notification Configured?}
    B -->|Yes| C[Display Notification]
    C --> D[User Acknowledges]
    D --> E[End]
    B -->|No| F[Exit]

Workflow Description

1. Configure Notification Settings

Users access the Home Assistant interface to set the parameters for the persistent notification, including the message and duration.

2. Define Trigger Events

Users specify which events (e.g., door opened, motion detected) will activate the notification.

3. Receive Notification

When a trigger event occurs, the system displays the configured persistent notification on the user’s device.

4. Acknowledge Notification

Users can acknowledge the notification, which then removes it from the display, confirming they have seen it.

5. Review Notification History

Users can access a history of past notifications to review important alerts that were previously acknowledged.

Postconditions

After the notification is acknowledged, it is removed from the display, and users can manage or review their notifications as needed.

Optional Enhancements

  • Integrate with voice assistants for verbal notifications.
  • Add customization options for notification sounds and visual styles.
  • Create automated responses based on notification type (e.g., lock doors when motion detected).

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, ESPHomeEnergy Monitoring, Temperature Sensors

Source Examples