bernikr / lovelace-notify-card

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

Failed to call service tts/speak. required key not provided @ data['media_player_entity_id'] #23

Closed AlexTryHarder closed 2 months ago

AlexTryHarder commented 9 months ago

Card type: custom:notify-card target: tts.speak entity: media_player.alarm_speakers data: <-- tried adding this with no luck.. media_player_entity_id: media_player.alarm_speakers

Service service: tts.speak data: cache: true message: test media_player_entity_id: media_player.alarm_speakers target: entity_id: tts.google_en_com

jccarey5 commented 9 months ago

I have the same issue

AlexTryHarder commented 7 months ago

up?

fungio commented 3 months ago

I made a PR https://github.com/bernikr/lovelace-notify-card/pull/28 to fix that.

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:

type: custom:notify-card
action: tts.speak
data:
  cache: true
  message: $MSG
  media_player_entity_id: media_player.alarm_speakers
  target:
    entity_id: tts.google_en_com