core icon indicating copy to clipboard operation
core copied to clipboard

Google Nest voice notification tts.speak tts.google_it_it two identical notification two different voice type

Open antoweb opened this issue 1 year ago • 6 comments

The problem

I have two identical actions in an automation:

Action A

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

This action have the voice is like a human (unsettling)

Action B

data:
  media_player_entity_id: media_player.soggiorno
  cache: true
  message: >-
    Il tempo restante del lavaggio è di {{
    states.sensor.wash_cycle_remaining_time.state }} minuti
target:
  entity_id: tts.google_it_it
enabled: true
action: tts.speak

This action have a normal google voice type

Both actions works good but the voice type from my google nest is different. Why?

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

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

antoweb avatar Oct 05 '24 20:10 antoweb

Google recently changed something with voices. Clear TTS cache and check again.

PRyC avatar Oct 06 '24 05:10 PRyC

How to clear tts cache?

antoweb avatar Oct 06 '24 06:10 antoweb

How to clear tts cache?

You can delete files. You can also prepare a script, because it is sometimes useful. In HA you have a ready action: tts.clear_cache

A few weeks ago I also had a mess with voices. It turned out that HA changed the voice from Google Cloud to Google Translate in several automations. Why? I don't know. Just as I don't know why it only did it in a few automations. However, since 2024.10 there has been a problem with TTS from Google Cloud in general and unfortunately they didn't fix it in 2024.10.1.

PRyC avatar Oct 06 '24 06:10 PRyC

Hello, i have emptyed the cache but now both Actions have the human voice i want the old voice.

For 20024.10.0 i know but for me with the 2024.10.1 the problem related to error playing Is solved

antoweb avatar Oct 06 '24 06:10 antoweb

Search for information, but there was an update to Google Cloud voices in September. Or maybe you just need to check if you have the right voice selected/defined.

Well, I still have a problem with TTS within GC in 2024.10.1. Besides, the changelog doesn't seem to say anything about "fix tts google cloud". But there is a lot about NYT Games. Priorities ;-P

PRyC avatar Oct 06 '24 07:10 PRyC

With my Action tts.speak entity_id: tts.google_it_it I cant change the voice

antoweb avatar Oct 06 '24 07:10 antoweb

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.