Browse Source

sensitize periodic light refresh in hue2 again.

feature-colorvalue2 3.7.3
Gisle Aune 3 years ago
parent
commit
d5cf30ea4b
  1. 2
      internal/drivers/hue2/bridge.go

2
internal/drivers/hue2/bridge.go

@ -63,7 +63,7 @@ func (b *Bridge) Run(ctx context.Context, eventCh chan<- models.Event) error {
case <-ctx.Done(): case <-ctx.Done():
return ctx.Err() return ctx.Err()
case <-lightRefreshTimer.C: case <-lightRefreshTimer.C:
if time.Since(lastUpdate) < time.Second*10 {
if time.Since(lastUpdate) < time.Second*2 {
continue continue
} }

Loading…
Cancel
Save