From abda5cc24f81b96534534b5d3899c949688b8299 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 23 Nov 2022 22:23:06 +0100 Subject: [PATCH] Also adjusted timer --- integration/zigbee/light_sensor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/zigbee/light_sensor.go b/integration/zigbee/light_sensor.go index c18f797..b2c3eb0 100644 --- a/integration/zigbee/light_sensor.go +++ b/integration/zigbee/light_sensor.go @@ -35,7 +35,7 @@ func NewLightSensor(info Info, client paho.Client) *lightSensor { l.minValue = 15000 l.maxValue = 18000 - l.timeout = time.Minute + l.timeout = 5 * time.Minute l.timer = time.NewTimer(l.timeout) l.timer.Stop()