Aohzan / hass-blueprints

My personnal collection of Home-Assistant's blueprints
Apache License 2.0
13 stars 14 forks source link

Add sound to notification #13

Closed RLP1369 closed 1 month ago

RLP1369 commented 1 month ago

Is there anyway to add a sound to the notification? Ive tried to add through the optional actions, but without success.

Thank you in advance

Aohzan commented 1 month ago

It depends of your device type and of what you want to do : https://companion.home-assistant.io/docs/notifications/notification-sounds/ so edit the blueprint to what you want

RLP1369 commented 1 month ago

I’m using iOS. I have plenty of notifications that have sound, but I have not been successful in adding a sound to the blueprint. Are you suggesting that the Optional Action should work? If so, it breaks the entire blueprint. if you’re suggesting to add the appropriate code, which line of the blueprint should it be added?….because I’ve tried everything I can think of.

thank you.

Aohzan commented 1 month ago

it's a normal notify call : https://github.com/Aohzan/hass-blueprints/blob/main/blueprints/medication_reminder_ios.yaml#L175 you can try it on dev tools

RLP1369 commented 1 month ago

Hello again,Ive tried everything under the sun to add a Home Assistant preloaded sound to the notification…all without success.If you’ve been able to do so, would you please share the code?Thank youSent from my iPadOn Aug 13, 2024, at 9:06 AM, Matthieu Bourgain @.***> wrote: it's a normal notify call : https://github.com/Aohzan/hass-blueprints/blob/main/blueprints/medication_reminder_ios.yaml#L175 you can try it on dev tools

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Aohzan commented 1 month ago

show me what you tried in dev tools