Commit ·
10f7c31
1
Parent(s): 20e58a2
Fix: Ignore HA continue_conversation, only use our switch
Browse files
reachy_mini_ha_voice/satellite.py
CHANGED
|
@@ -480,14 +480,13 @@ class VoiceSatelliteProtocol(APIServer):
|
|
| 480 |
return
|
| 481 |
|
| 482 |
# Check if should continue conversation BEFORE clearing pipeline state
|
| 483 |
-
#
|
| 484 |
-
#
|
| 485 |
continuous_mode = self.state.preferences.continuous_conversation
|
| 486 |
-
should_continue =
|
| 487 |
|
| 488 |
if should_continue:
|
| 489 |
-
_LOGGER.info("Continuing conversation (continuous_mode=%s
|
| 490 |
-
continuous_mode, self._continue_conversation)
|
| 491 |
|
| 492 |
# Keep pipeline active - no gap for wake word detection
|
| 493 |
# _pipeline_active stays True
|
|
|
|
| 480 |
return
|
| 481 |
|
| 482 |
# Check if should continue conversation BEFORE clearing pipeline state
|
| 483 |
+
# Only continue if OUR continuous_conversation switch is enabled
|
| 484 |
+
# HA's continue_conversation request is ignored unless our switch is on
|
| 485 |
continuous_mode = self.state.preferences.continuous_conversation
|
| 486 |
+
should_continue = continuous_mode # Only use our switch, ignore HA's request
|
| 487 |
|
| 488 |
if should_continue:
|
| 489 |
+
_LOGGER.info("Continuing conversation (continuous_mode=%s)", continuous_mode)
|
|
|
|
| 490 |
|
| 491 |
# Keep pipeline active - no gap for wake word detection
|
| 492 |
# _pipeline_active stays True
|