diff --git a/homeassistant/components/wyoming/assist_satellite.py b/homeassistant/components/wyoming/assist_satellite.py index 75c227f8537..1a1a67bf1de 100644 --- a/homeassistant/components/wyoming/assist_satellite.py +++ b/homeassistant/components/wyoming/assist_satellite.py @@ -739,7 +739,7 @@ class WyomingAssistSatellite(WyomingSatelliteEntity, AssistSatelliteEntity): timestamp=timestamp, ) await self._client.write_event(chunk.event()) - timestamp += chunk.seconds + timestamp += chunk.milliseconds total_seconds += chunk.seconds await self._client.write_event(AudioStop(timestamp=timestamp).event()) diff --git a/homeassistant/components/wyoming/conversation.py b/homeassistant/components/wyoming/conversation.py index 5760d04bfc2..988cf3c9045 100644 --- a/homeassistant/components/wyoming/conversation.py +++ b/homeassistant/components/wyoming/conversation.py @@ -149,21 +149,21 @@ class WyomingConversationEntity( not_recognized = NotRecognized.from_event(event) intent_response.async_set_error( intent.IntentResponseErrorCode.NO_INTENT_MATCH, - not_recognized.text, + not_recognized.text or "", ) break if Handled.is_type(event.type): # Success handled = Handled.from_event(event) - intent_response.async_set_speech(handled.text) + intent_response.async_set_speech(handled.text or "") break if NotHandled.is_type(event.type): not_handled = NotHandled.from_event(event) intent_response.async_set_error( intent.IntentResponseErrorCode.FAILED_TO_HANDLE, - not_handled.text, + not_handled.text or "", ) break diff --git a/homeassistant/components/wyoming/manifest.json b/homeassistant/components/wyoming/manifest.json index d75b70dffa8..31adb17d7f5 100644 --- a/homeassistant/components/wyoming/manifest.json +++ b/homeassistant/components/wyoming/manifest.json @@ -13,6 +13,6 @@ "documentation": "https://www.home-assistant.io/integrations/wyoming", "integration_type": "service", "iot_class": "local_push", - "requirements": ["wyoming==1.5.4"], + "requirements": ["wyoming==1.7.1"], "zeroconf": ["_wyoming._tcp.local."] } diff --git a/homeassistant/components/wyoming/wake_word.py b/homeassistant/components/wyoming/wake_word.py index 2a21b7303e5..091b400a6c7 100644 --- a/homeassistant/components/wyoming/wake_word.py +++ b/homeassistant/components/wyoming/wake_word.py @@ -147,8 +147,10 @@ class WyomingWakeWordProvider(wake_word.WakeWordDetectionEntity): queued_audio = [audio_task.result()] return wake_word.DetectionResult( - wake_word_id=detection.name, - wake_word_phrase=self._get_phrase(detection.name), + wake_word_id=detection.name or "", + wake_word_phrase=self._get_phrase( + detection.name or "" + ), timestamp=detection.timestamp, queued_audio=queued_audio, ) diff --git a/requirements_all.txt b/requirements_all.txt index 710785eed57..80f543f790f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -3123,7 +3123,7 @@ wolf-comm==0.0.23 wsdot==0.0.1 # homeassistant.components.wyoming -wyoming==1.5.4 +wyoming==1.7.1 # homeassistant.components.xbox xbox-webapi==2.1.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 815ab30d4c3..e1a546dfe2f 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2573,7 +2573,7 @@ wolf-comm==0.0.23 wsdot==0.0.1 # homeassistant.components.wyoming -wyoming==1.5.4 +wyoming==1.7.1 # homeassistant.components.xbox xbox-webapi==2.1.0