From 8e9aef880c55ff15cec5e3369896e740581efb51 Mon Sep 17 00:00:00 2001 From: mj23000 Date: Mon, 13 Nov 2023 13:50:45 +0100 Subject: [PATCH] Fix overlay TTS bug --- custom_components/bangolufsen/manifest.json | 2 +- custom_components/bangolufsen/media_player.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/bangolufsen/manifest.json b/custom_components/bangolufsen/manifest.json index e4a54e1..41b6db1 100644 --- a/custom_components/bangolufsen/manifest.json +++ b/custom_components/bangolufsen/manifest.json @@ -8,6 +8,6 @@ "iot_class": "local_push", "issue_tracker": "https://github.com/bang-olufsen/bangolufsen-hacs/issues", "requirements": ["mozart-api==3.2.1.150.2"], - "version": "1.5.5", + "version": "1.5.6", "zeroconf": ["_bangolufsen._tcp.local."] } diff --git a/custom_components/bangolufsen/media_player.py b/custom_components/bangolufsen/media_player.py index ceb92ac..cdda377 100644 --- a/custom_components/bangolufsen/media_player.py +++ b/custom_components/bangolufsen/media_player.py @@ -1322,7 +1322,7 @@ async def async_overlay_audio( absolute_volume: int | None = None, volume_offset: int | None = None, tts: str | None = None, - tts_language: str | None = None, + tts_language: str = "en-us", ) -> None: """Overlay audio over any currently playing audio."""