From d5cf30ea4b24f76d02cbf22cb4de4939e6c97a92 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sat, 19 Feb 2022 20:43:38 +0100 Subject: [PATCH] sensitize periodic light refresh in hue2 again. --- internal/drivers/hue2/bridge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/drivers/hue2/bridge.go b/internal/drivers/hue2/bridge.go index f9e6606..8cf425d 100644 --- a/internal/drivers/hue2/bridge.go +++ b/internal/drivers/hue2/bridge.go @@ -63,7 +63,7 @@ func (b *Bridge) Run(ctx context.Context, eventCh chan<- models.Event) error { case <-ctx.Done(): return ctx.Err() case <-lightRefreshTimer.C: - if time.Since(lastUpdate) < time.Second*10 { + if time.Since(lastUpdate) < time.Second*2 { continue }