home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.87k stars 30.1k forks source link

Voice type different but same service tts.speak #126417

Open antoweb opened 1 week ago

antoweb commented 1 week ago

The problem

I have two script with same service tts.speak to google home mini (nest). When launching script A google home use a voice type different of script b

Script A (Classical google home voice)

data:
  cache: true
  media_player_entity_id: media_player.soggiorno
  message: "    {{ [\"Forse è tornato a casa perchè si è aperto il cancello\",     \"Qualcuno ha aperto il cancello. Che sia tornato a casa?\"] | random     }}"
target:
  entity_id: tts.google_it_it
action: tts.speak

Script B (a voice type is different! Similar to a human voice)

data:
  media_player_entity_id: media_player.soggiorno
  cache: true
  message: >-
    Il tempo restante non è disponibile, forse la lavatrice è spenta, scollegata
    dal wifi o ha finito
target:
  entity_id: tts.google_it_it
enabled: true
action: tts.speak

What version of Home Assistant Core has the issue?

core-2024.9.2

What was the last working version of Home Assistant Core?

I dont remember

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Text-to-speech (TTS)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tts/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (tts) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tts` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tts` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tts documentation tts source (message by IssueLinks)