SgtBatten / HA_blueprints

Somewhere to store automation blueprints
151 stars 55 forks source link

Add TTS option for android dnd/silence override #221

Closed djak250 closed 4 weeks ago

djak250 commented 1 month ago

TTS is sent separately from real message to get both.

djak250 commented 1 month ago

I need to do a little more refinement on this. TTS alerting configs aren't consistent with normal notification configs. alert_once, for instance, seems to mean nothing when TTS is involved, since the audio from a TTS notification isn't an "alert" (like a ringer). I'll need to find a way to store if a TTS notification has been sent already, and check it during subsequent qualified event updates. Right now it announces every update, which is very annoying. TTS alerts may just need to be locked down to notifying one time, regardless of the alert_once Boolean.

djak250 commented 1 month ago

Made an issue for better support: home-assistant/android#4440 However, I'm still experimenting with some ways to accomplish it without that change.

djak250 commented 4 weeks ago

@SgtBatten I found a rough solution to prevent TTS alerts occurring on every update. Unfortunately it involves having the end user create a input text helper, and specifying it in the config.

A small price to pay, all things considered.