Squig
(Mark)
February 6, 2022, 1:07am
1
I have a notification set up for when my doorbell rings
alias: Doorbell pressed
description: ''
trigger:
- type: occupied
platform: device
device_id: xxx
entity_id: binary_sensor.g4_doorbell_doorbell
domain: binary_sensor
condition: []
action:
- device_id: xxx
domain: mobile_app
type: notify
message: Doorbell rung
- device_id: xxx
domain: mobile_app
type: notify
message: Doorbell rung
mode:
And it’s working great, but it would be nice it clicking it opened the relevant lovelace dashboard.
Is there a way to do that? I couldn’t see anything in the notification documentation about it.
Thanks
Recte
February 6, 2022, 5:52am
2
I am not sure what notification you use, but have you seen this?
The mobileapp notify platform accepts the standard title, message and target parameters used by the notify platform. The mobile\app notify platform supports targets as services. As long as you granted notifications permissions during setup, you will...
Squig
(Mark)
February 7, 2022, 12:51am
3
Perfect, that had the information I needed.
Thanks.
Yes I’m using the companion app, but the extra “data” attributes aren’t exposed in the UI and the doco was using https://www.home-assistant.io/integrations/notify/ said to refer to the integration for more details but the companion app isn’t in that list so I was a bit lost.
1 Like
Recte
February 7, 2022, 6:18am
4
Glad I could help and thanks for the feedback