Add debug logging for stop word detection (#257)

This commit is contained in:
Vlad Gaevsky authored and GitHub committed 2026-03-23 16:35:06 +01:00
1 parent 0130d2241f
commit ede3785539
1 file changed
+1
+1
View File
@@ -481,6 +481,7 @@ def process_audio(state: ServerState, mic, block_size: int):
stopped = True
if stopped and (state.stop_word.id in state.active_wake_words) and not state.muted:
_LOGGER.debug("Stop word detected")
state.satellite.stop()
except Exception:
_LOGGER.exception("Unexpected error handling audio")