Has anyone else ran into issues with Amazon Polly? A couple of days ago TTS stopped functioning. It will wake the Google Home up but no speech follows. Here is he error I’m getting, Invalid SSML request,unfortunately I’m not smart enough to solve that. Nothing has changed with my config in the last couple of week.
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/tasks.py”, line 233, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py”, line 1025, in _event_to_service_call
yield from service_handler.func(service_call)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tts/init.py”, line 140, in async_say_handle
options=options
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tts/init.py”, line 310, in async_get_url
engine, key, message, use_cache, language, options)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tts/init.py”, line 324, in async_get_tts_audio
message, language, options)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tts/amazon_polly.py”, line 177, in get_tts_audio
VoiceId=voice_id
File “/srv/homeassistant/lib/python3.4/site-packages/botocore/client.py”, line 251, in _api_call
return self._make_api_call(operation_name, kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/botocore/client.py”, line 537, in _make_api_call
raise ClientError(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidSsmlException) when calling the SynthesizeSpeech operation: Invalid SSML request
YAML Config:
tts:
- platform: amazon_polly
aws_access_key_id: !secret aws_access_key_id
aws_secret_access_key: !secret aws_secret_access_key
region_name: 'us-east-1'
voice: Emma
text_type: ssml
cache: True