hass-edge-tts icon indicating copy to clipboard operation
hass-edge-tts copied to clipboard

Multiple services with different names use the config values from the last defined service

Open ALERTua opened this issue 1 year ago • 1 comments

Defining:

tts:
  - platform: edge_tts
    service_name: edge_say
    language: en-US-ChristopherNeural

  - platform: edge_tts
    service_name: edge_say_ua
    language: uk-UA-PolinaNeural

Creates two services with the provided names correctly, but calling tts.edge_say uses the voice from edge_say_ua. The config values should be different for each defined service.

ALERTua avatar Jan 15 '23 10:01 ALERTua