Update resulting from adding HAL and Marvin

This is to support my personal use cases of HAL-9000 and Marvin voice assistants.
This commit is contained in:
imonlinux
2025-10-11 16:17:54 -07:00
committed by GitHub
parent aa3ebff8f4
commit 9811328182
+6
View File
@@ -92,6 +92,12 @@ class LedController(EventHandler):
except asyncio.CancelledError:
await self.color(_OFF)
# --- THIS IS THE NEWLY ADDED METHOD ---
@subscribe
def ha_connected(self, data: dict):
_LOGGER.debug("HA Connected, setting idle LED state.")
self.voice_run_end(data)
@subscribe
def voice_wakeword(self, data: dict):
_LOGGER.debug("LED Event: voice_wakeword")