I have a weird scenario with my Google TTS. I have an automations that plays through my Google Nest Speakers “alarm has been disarmed” when I disarm my alarm and “alarm has been armed” when I arm my alarm. This worked for well over a year. Now, the “alarm has been disarmed” works but the “alarm has been armed does not”. The automations are written the same way.
Alarm has been disarmed automation
- id: '1533774446424'
alias: TTS for Alarm Disarmed
trigger:
- entity_id: alarm_control_panel.ha_alarm
from: armed_home
platform: state
to: disarmed
- entity_id: alarm_control_panel.ha_alarm
from: armed_away
platform: state
to: disarmed
- entity_id: alarm_control_panel.ha_alarm
from: pending
platform: state
to: disarmed
- entity_id: alarm_control_panel.ha_alarm
from: triggered
platform: state
to: disarmed
condition: []
action:
- data:
entity_id:
- media_player.living_room_speaker
- media_player.basement_speaker
- media_player.master_bedroom_speaker
volume_level: 0.5
service: media_player.volume_set
- data:
message: Alarm has been disarmed.
entity_id: media_player.living_room_speaker
service: tts.google_say
- data:
message: Alarm has been disarmed.
entity_id: media_player.basement_speaker
service: tts.google_say
Alarm has been armed automation
- id: '1606974128581'
alias: TTS for Alarm Armed
description: ''
trigger:
- platform: state
entity_id: alarm_control_panel.ha_alarm
from: disarmed
to: pending
condition: []
action:
- service: media_player.volume_set
data:
volume_level: 0.5
entity_id: media_player.living_room_speaker
- service: media_player.volume_set
data:
volume_level: 0.5
entity_id: media_player.basement_speaker
- data:
message: Alarm has been armed.
entity_id: media_player.living_room_speaker
service: tts.google_say
- data:
message: Alarm has been armed.
entity_id: media_player.basement_speaker
service: tts.google_say
mode: single
I can’t find a single difference in the automation code, but the arming one doesn’t work. Even if I execute it manually. I also get this log error when executing the “alarm has been armed” automation
Logger: homeassistant.components.tts
Source: components/tts/init.py:172
Integration: Text-to-Speech (TTS) (documentation, issues)
First occurred: 11:47:16 PM (6 occurrences)
Last logged: 11:49:01 PMError on init TTS: No TTS from google_translate for ‘Alarm has been armed.’
Can anyone point me in the right direction to fix this?