Small fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user