bernikr / lovelace-notify-card

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

Support for other languages #16

Closed JaroslawPrzybyl closed 2 months ago

JaroslawPrzybyl commented 1 year ago

Could you add possibility to set a language in this card? I tried as below, but it seems, this field is ignored:

    - type: custom:notify-card
      card_title: Send notify to Salon
      target: tts.google_say
      entity: media_player.salon
      data:
        language: pl

`

dmaciaszek commented 1 year ago

PR for this function https://github.com/bernikr/lovelace-notify-card/pull/17

mvkleeff commented 1 year ago

Hoping for an updated version as Dutch sounds really strange in English voice :-)

smenzer commented 7 months ago

i would also like to see support to pass in the language data parameter.

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
card_title: Send notify to Salon
action: tts.google_say
data:
  entity_id: media_player.salon
  language: pl
  message: $MSG