Small fixes

This commit is contained in:
Michael Hansen
2023-12-12 12:15:12 -06:00
parent 8b6b6dfa58
commit c1ec5ace71
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -95,8 +95,9 @@ class LEDsEventHandler(AsyncEventHandler):
self.color(_YELLOW)
elif Detection.is_type(event.type):
self.color(_BLUE)
await asyncio.sleep(1.0) # show for 1 sec
elif VoiceStarted.is_type(event.type):
self.color(_WHITE)
self.color(_YELLOW)
elif Transcript.is_type(event.type):
self.color(_GREEN)
await asyncio.sleep(1.0) # show for 1 sec
+1
View File
@@ -806,5 +806,6 @@ class WakeStreamingSatellite(SatelliteBase):
self.is_streaming = True
_LOGGER.debug("Streaming audio")
await self._send_run_pipeline()
await self.forward_event(event) # forward to event service
await self.trigger_detection(Detection.from_event(event))
await self.trigger_streaming_start()