Commit ·
88356b9
1
Parent(s): 0d8fe98
debug: 将 Voice event 日志改为 INFO 级别
Browse files
reachy_mini_ha_voice/satellite.py
CHANGED
|
@@ -130,7 +130,7 @@ class VoiceSatelliteProtocol(APIServer):
|
|
| 130 |
def handle_voice_event(
|
| 131 |
self, event_type: VoiceAssistantEventType, data: Dict[str, str]
|
| 132 |
) -> None:
|
| 133 |
-
_LOGGER.
|
| 134 |
|
| 135 |
if event_type == VoiceAssistantEventType.VOICE_ASSISTANT_RUN_START:
|
| 136 |
self._tts_url = data.get("url")
|
|
|
|
| 130 |
def handle_voice_event(
|
| 131 |
self, event_type: VoiceAssistantEventType, data: Dict[str, str]
|
| 132 |
) -> None:
|
| 133 |
+
_LOGGER.info("Voice event: type=%s, data=%s", event_type.name, data)
|
| 134 |
|
| 135 |
if event_type == VoiceAssistantEventType.VOICE_ASSISTANT_RUN_START:
|
| 136 |
self._tts_url = data.get("url")
|