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(
|
||||
name="kokoro",
|
||||
description="Kokoro ONNX TTS",
|
||||
version="1.0",
|
||||
attribution=Attribution(
|
||||
name="thewh1teagle/kokoro-onnx",
|
||||
url="https://github.com/thewh1teagle/kokoro-onnx",
|
||||
@@ -128,6 +129,7 @@ class KokoroEventHandler(AsyncEventHandler):
|
||||
TtsVoice(
|
||||
name=self._default_voice,
|
||||
description="Kokoro voice",
|
||||
version="1.0",
|
||||
attribution=Attribution(name="kokoro", url=""),
|
||||
installed=True,
|
||||
languages=["en-us"],
|
||||
|
||||
Reference in New Issue
Block a user