From 083df1749bd127f2abe1bd7214ad9f6979018fe5 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Fri, 8 Nov 2024 21:34:35 +0100 Subject: [PATCH] fix mill --- services/mill/wifi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/mill/wifi.go b/services/mill/wifi.go index fc4a93f..33f4db8 100644 --- a/services/mill/wifi.go +++ b/services/mill/wifi.go @@ -78,7 +78,7 @@ func (w *WifiBridge) refresh() error { return err } - if w.state != nil { + if w.state == nil { w.state = &device.State{ Temperature: gentools.Ptr(temp), }