Fix lint formatting (#262)

This commit is contained in:
Omar Amin authored and GitHub committed 2026-03-26 14:54:40 +02:00
1 parent 4194aa42ec
commit 412035e6b2
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ async def main() -> None:
type=float,
default=900.0, # 15 minutes
help="Seconds before a ringing timer auto-stops (default: 900)",
)
)
parser.add_argument(
"--debug",
action="store_true",
+3 -3
View File
@@ -418,7 +418,7 @@ class VoiceSatelliteProtocol(APIServer):
if self._timer_finished:
self._timer_finished = False
self._timer_ring_start = None
self._timer_ring_start = None
self.unduck()
self.state.tts_player.stop()
_LOGGER.debug("Stopping timer finished sound")
@@ -467,7 +467,7 @@ class VoiceSatelliteProtocol(APIServer):
self.unduck()
self._timer_ring_start = None
return
# Auto-stop after timer_max_ring_seconds
if self._timer_ring_start is not None:
elapsed = time.monotonic() - self._timer_ring_start
@@ -482,7 +482,7 @@ class VoiceSatelliteProtocol(APIServer):
self.state.active_wake_words.discard(self.state.stop_word.id)
self.unduck()
return
self.state.tts_player.play(
self.state.timer_finished_sound,
done_callback=lambda: call_all(