From 00f623ab4500a4e05c2f7fc819a2b6b4935913ed Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 23 Nov 2022 22:33:13 +0100 Subject: [PATCH] Actally enable setting the flag on the hue bridge --- automation/dark.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/dark.go b/automation/dark.go index 8afb300..1f59453 100644 --- a/automation/dark.go +++ b/automation/dark.go @@ -9,6 +9,6 @@ import ( func darknessAutomation(client paho.Client, hue *hue.Hue) { on(client, "automation/darkness/living", func(message zigbee.DarknessPayload) { - // hue.SetFlag(43, message.IsDark) + hue.SetFlag(43, message.IsDark) }) }