๐ง 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.