From d3b2d00bf1568853fc963880a1203ef606cc5f88 Mon Sep 17 00:00:00 2001 From: MizterB <5458030+MizterB@users.noreply.github.com> Date: Sun, 25 Aug 2024 12:00:14 -0400 Subject: [PATCH] Treat Hue groups as individual lights (#1037) --- custom_components/adaptive_lighting/switch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index b4af97ed..3b9448a9 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -638,7 +638,9 @@ def _expand_light_groups( def _is_light_group(state: State) -> bool: - return "entity_id" in state.attributes + return "entity_id" in state.attributes and not state.attributes.get( + "is_hue_group", False + ) @bind_hass