Hi, just wanted to throw in an ask for sound support via pushover:
https://pushover.net/api#sounds
I use pushover for a lot of different notifications, and it would be nice to have HASS notifications on a different sound.
Thanks,
Hi, just wanted to throw in an ask for sound support via pushover:
https://pushover.net/api#sounds
I use pushover for a lot of different notifications, and it would be nice to have HASS notifications on a different sound.
Thanks,
You just need to supply the sound as data to the notifier service.
Example from an automation:
- service: notify.scott_notifier data: message: "Scott's door has opened." title: "Scott's Door" data: sound: pianobar priority: 0
Oh I see, that works, thank you!
The component documentation should be updated, I just came here to make a feature request as it isn’t documented.
It would be great if you can help update and improve the documentation. In the upper right corner of any documentation page, you will find “Edit this page on GitHub”. Follow the link and submit your suggested change. Demonstrated here: https://youtu.be/dRfk9JAlPJk?t=1h16m17s
I submitted an update to the documentation.
I’ve been trying to get sounds to work in my Pushover notification automations and can’t seem to figure it out. Not sure if it’s a bug, or if I’m doing it wrong.
This is what is currently in my automation. Everything works as expected, except the sound.
- alias: Notify Guest Motion Detected
trigger:
- platform: state
entity_id: input_boolean.trigger_guest_mode
to: 'on'
action:
- service: notify.pushover
data_template:
title: Movement Detected
message: >
Guest Mode has been triggered and August is {% if is_state("lock.august_smart_lock_pro_locked", "unlocked") %}unlocked.{% else %}locked.{% endif %}
data:
data:
priority: 0
sound: siren
So far I’ve tried:
data
parameter from within data_template
, which hasn’t worked either.Thoughts?
Have you tried grouping all of the data together? I’m not sure if you can have data_template and data at the same time.
- service: notify.pushover
data_template:
title: Movement Detected
message: >
Guest Mode has been triggered and August is {% if is_state("lock.august_smart_lock_pro_locked", "unlocked") %}unlocked.{% else %}locked.{% endif %}
data:
priority: 0
sound: siren
I believe the way you’re showing is legit. It’s the path I initially took. Had the same results, the sound parameter isn’t followed.
I use the sound setting all of the time. Straight from and automation in my config:
- service: notify.scott_notifier
data:
message: "Scott's door has closed."
title: "Scott's Door"
data:
sound: pianobar
priority: 0