Skip to content

v3.1.12

Latest

Choose a tag to compare

@Dregi56 Dregi56 released this 06 Jul 14:33
6a05fe3

๐Ÿ”ง v3.1.11 โ€” TTS Voice Announcement Fix
๐Ÿ› Bug Fixes

๐Ÿšซ Removed invalid announce parameter from the tts.speak service call, which caused the error extra keys not allowed @ data['announce']. The announce flag is only supported by media_player.play_media, not by the TTS service.
๐ŸŒ Fixed language format sent to the TTS engine: a full locale (e.g. en-US, it-IT, de-DE) is now sent instead of a bare 2-letter code (en, it, de), which caused the error Language 'en' not supported on tts.home_assistant_cloud.
โฑ๏ธ Improved error handling: the TTS call is now blocking=True, so any future TTS errors are properly caught by the except block instead of silently surfacing in Home Assistant's system logs.

โœ… Impact
Voice announcements now work correctly again for all supported languages: ๐Ÿ‡ฌ๐Ÿ‡ง en ยท ๐Ÿ‡ฎ๐Ÿ‡น it ยท ๐Ÿ‡ฉ๐Ÿ‡ช de ยท ๐Ÿ‡ซ๐Ÿ‡ท fr ยท ๐Ÿ‡ช๐Ÿ‡ธ es ยท ๐Ÿ‡ต๐Ÿ‡น pt ยท ๐Ÿ‡ต๐Ÿ‡ฑ pl ยท ๐Ÿ‡จ๐Ÿ‡ฟ cs ยท ๐Ÿ‡ธ๐Ÿ‡ฐ sk.
๐Ÿ™ Thanks
Thanks to everyone who reported the bug with detailed logs, which made it possible to quickly identify both root causes.