Notify People
Helper script meant as central place for sending notifications in Home Assistant. Multiple parameters are available including selecting notified people, only notifying people at home and a way to dismiss notification. Has options for handling HA persistent notifications with the same message.
General
Loops over the provided people items and calls their notification script.
If home is true, script calls for people not at home will be skipped.
Persistent notification management can be enabled by setting create_persistent_notification to true. An additional
condition template can be supplied to dynamically control creation of persistent notifications with
persistent_notification_condition.
Inputs
| Name | Description | Default |
|---|---|---|
| Title | The title of the notification | |
| Message | The message of the notification | |
| URL | Url for click action target | |
| Tag | Tag for replacing / clearing later on | |
| Group | Group name for notification grouping | |
| Clear | Removes notifications with given tag | false |
| Channel | Android notification Channel | |
| Actions | Actions to add to mobile app notifications | |
| People | People to notify. Defaults to everyone. | |
| Only Home | If true, only sends notifications to people who are at home | false |
| Create persistent Notification | If true, creates a persistent notification in Home Assistant additionally | false |
| Create persistent Notification Condition | Creates a persistent notification in Home Assistant only of the given condition matches. Ignored if omitted. | {{ true }} |