It was working perfectly before upgrading to 0.117.4.
Actually sometimes it fails and i donāt have the TTS notification on my media_player.home device.
Yes. Mine has been intermittent since yesterday. Getting these error msgs:
WARNING (MainThread) [homeassistant.components.google_translate.tts] Unable to find token seed! Did https://translate.google.com change?
ERROR (MainThread) [homeassistant.components.tts] Error on init TTS: No TTS from google_translate for 'Test message'
What do you want this Template Condition to do? Because hereās what I believe it does:
If either of the first two media players is playing, the template returns nothing.
Only if the first two media players are not playing, does the template check the third player and returns either false or true.
A Template Condition should always evaluate to either true or false and not nothing.
So the question remains, what do you want this Template Condition to do?
EDIT
You can experiment with the templateās behavior by pasting this into the Template Editor:
{% set a = 'playing' %}
{% set b = 'paused' %}
{% set c = 'playing' %}
{% if a == 'playing' %}
{% elif b == 'playing' %}
{% elif c == 'playing' %}
false
{% else %}
true
{% endif %}
As you can see, thereās no result if the either of the first two variables are āplayingā.
Only when the first two are not āplayingā does the template reach the third test and produce a value of false.
It selects and counts how many media_players are playing and compares it to 0. If none are playing, the template evaluates to true, otherwise it reports false.
The basic voice is free with a limit of 4 million characters per month. The WaveNet version is free with a limit of 1 million per month. After that itās ā¬/$4 (basic) and $/ā¬16 per month per million characters (WaveNet).
I might try this. I have no idea how many characters I would use but Iād imagine you can keep track. This is what counts as a charachter according yo Google:
The number of characters will be equal to or less than the number of bytes represented by the text. This includes alphanumeric characters, punctuation, and white spaces. Some character sets use more than one byte for a character. For example, Japanese (ja-JP) characters in UTF-8 typically require more than one byte each. In this case, you are only charged for one character, not multiple bytes.
The WaveNet version (which I would choose) gives 33.000 characters each day on average. This following sentence contains 80 characters:
Good morning, it is time to wake up. Currently itās 17 degrees and itās raining.
I think for a regular household when using a few automations each day with Google Cloud TTS you wonāt reach the monthly limit.
I also have this problem, sometimes the TTS works fine and sometimes it doesnāt. Havenāt changed anything other than upgrading HA. Has worked perfectly since I set it up 6 months ago.
Yes, thatās correct afaik. Iām using the 0-4 million standard voice, and Iāve never been charged. When I check quotas for the project it just states āNo data is available for the selected time frame.ā so Iām not exactly sure how many characters Iām using but I would guess Iām way under the limit. I have the following tts automations: front doorbell motion on 3 google home devices (we get multiple packages daily), random greetings for each person upon returning home, and I script I call to yell at my cat when itās on the kitchen counter.