bernikr / lovelace-notify-card

Send notifications directly from the dashboard
MIT License
45 stars 16 forks source link

TTS to Android Companion App #29

Closed splasheye closed 2 months ago

splasheye commented 3 months ago

Not sure if this is an issue or just a my issue. I am trying to be able to use your card to send a TTS message to my Android Cell. If I use the service option tab in Home Assistant, the following works perfect

service: notify.mobile_app_sm_g975u1 data: message: TTS data: tts_text: hello

I have tried plenty option with your notify card but have had no luck. Is it possible, and if so any help would be great.

I am trying to have a card on my dashboard that I can just type different messages and have them read out load on my phone, like the above option works. Thanks

bernikr commented 2 months ago

I've updated the card to be able to work with any action/service and any data now.

Please update the card and try the following config:

action: notify.mobile_app_sm_g975u1
data:
  message: TTS
  data:
    tts_text: $MSG
splasheye commented 2 months ago

Thank you very much it works great