Is it possible to send notifications to the sidebar notification field in Home Assistant Core? I would like to be able to view some notifications there, in addition to the other platforms.
Yes you can using the persistent notification service.
Excellent! Thank you!
EDIT: Is it possible to use this platform in a notification group? I tried adding service: persistent_notification.create
to my notification group but this did not work.
notify:
- name: notify_all
platform: group
services:
- service: persistent_notification.create
- service: html5
- service: mobile_app_aron_android_app
- service: mobile_app_linda_android_app
Still looking for an solution to this… Anyone knows how to include the persistent_notification
service in a notification group?
- platform: group
name: notification_for_updates
services:
- service: notification_persistent
data_template:
message: "{{ message }}"
title: "{{ title }}"
target: "{{ notification_id }}"
- name: notification_persistent
platform: rest
resource: 'http://localhost:8123/api/services/persistent_notification/create'
method: POST_JSON
headers:
authorization: !secret hass_access_token_persistent_notification
content-type: 'application/json'
message_param_name: message
title_param_name: title
target_param_name: target
Adapt it to your needs.
Hi,
persistent notifications are great but there’s no sound when you receive it.
Is it possible to have a sound notification when you receive a persistent notification ?