fix: upgrade Wyoming TTS server for HA 1.7.2 compatibility
Wyoming library upgraded from 1.4.1 to 1.8.0. The new API requires `version` param on TtsVoice and TtsProgram constructors — without it, the info handshake fails on every HA connection and TTS synthesis never reaches the server, causing silent playback failure on satellites. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -119,6 +119,7 @@ class KokoroEventHandler(AsyncEventHandler):
|
|||||||
TtsProgram(
|
TtsProgram(
|
||||||
name="kokoro",
|
name="kokoro",
|
||||||
description="Kokoro ONNX TTS",
|
description="Kokoro ONNX TTS",
|
||||||
|
version="1.0",
|
||||||
attribution=Attribution(
|
attribution=Attribution(
|
||||||
name="thewh1teagle/kokoro-onnx",
|
name="thewh1teagle/kokoro-onnx",
|
||||||
url="https://github.com/thewh1teagle/kokoro-onnx",
|
url="https://github.com/thewh1teagle/kokoro-onnx",
|
||||||
@@ -128,6 +129,7 @@ class KokoroEventHandler(AsyncEventHandler):
|
|||||||
TtsVoice(
|
TtsVoice(
|
||||||
name=self._default_voice,
|
name=self._default_voice,
|
||||||
description="Kokoro voice",
|
description="Kokoro voice",
|
||||||
|
version="1.0",
|
||||||
attribution=Attribution(name="kokoro", url=""),
|
attribution=Attribution(name="kokoro", url=""),
|
||||||
installed=True,
|
installed=True,
|
||||||
languages=["en-us"],
|
languages=["en-us"],
|
||||||
|
|||||||
Reference in New Issue
Block a user