mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Don't log voice assistant config timeout error (#127010)
Don't log config timeout error
This commit is contained in:
parent
545dae2e7f
commit
fbeee11fd7
@ -133,7 +133,7 @@ class EsphomeAssistSatellite(
|
|||||||
|
|
||||||
# Empty config. Updated when added to HA.
|
# Empty config. Updated when added to HA.
|
||||||
self._satellite_config = assist_satellite.AssistSatelliteConfiguration(
|
self._satellite_config = assist_satellite.AssistSatelliteConfiguration(
|
||||||
available_wake_words=[], active_wake_words=[], max_active_wake_words=0
|
available_wake_words=[], active_wake_words=[], max_active_wake_words=1
|
||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -179,7 +179,13 @@ class EsphomeAssistSatellite(
|
|||||||
|
|
||||||
async def _update_satellite_config(self) -> None:
|
async def _update_satellite_config(self) -> None:
|
||||||
"""Get the latest satellite configuration from the device."""
|
"""Get the latest satellite configuration from the device."""
|
||||||
config = await self.cli.get_voice_assistant_configuration(_CONFIG_TIMEOUT_SEC)
|
try:
|
||||||
|
config = await self.cli.get_voice_assistant_configuration(
|
||||||
|
_CONFIG_TIMEOUT_SEC
|
||||||
|
)
|
||||||
|
except TimeoutError:
|
||||||
|
# Placeholder config will be used
|
||||||
|
return
|
||||||
|
|
||||||
# Update available/active wake words
|
# Update available/active wake words
|
||||||
self._satellite_config.available_wake_words = [
|
self._satellite_config.available_wake_words = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user