From 56572d4b33ea2793bde4fedc615584dec3307c8e Mon Sep 17 00:00:00 2001 From: imonlinux <39863321+imonlinux@users.noreply.github.com> Date: Thu, 11 Dec 2025 11:39:21 -0800 Subject: [PATCH] LED color status in HA fixed Bug was preventing HA from showing the correct LED color. --- linux_voice_assistant/mqtt_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/linux_voice_assistant/mqtt_controller.py b/linux_voice_assistant/mqtt_controller.py index 1be1c5d..b44d81a 100644 --- a/linux_voice_assistant/mqtt_controller.py +++ b/linux_voice_assistant/mqtt_controller.py @@ -353,6 +353,7 @@ class MqttController(EventHandler): light_state = { "state": "ON" if data.get("effect") != "off" else "OFF", + "color_mode": "rgb", "brightness": int(data.get("brightness", 0.5) * 255), "color": { "r": data.get("color")[0],