From a9efed0dfd5915654245c894c8bbf13c0fb04f7b Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Thu, 8 Aug 2024 09:26:46 +0200 Subject: [PATCH] cleanup --- lib/MycilaRouter/MycilaRouterOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MycilaRouter/MycilaRouterOutput.cpp b/lib/MycilaRouter/MycilaRouterOutput.cpp index 467fa15f..b035487e 100644 --- a/lib/MycilaRouter/MycilaRouterOutput.cpp +++ b/lib/MycilaRouter/MycilaRouterOutput.cpp @@ -204,7 +204,7 @@ void Mycila::RouterOutput::applyAutoBypass() { // temperature checks if (!_temperature.neverUpdated()) { - if (!_temperature) { + if (!_temperature.isPresent()) { if (_autoBypassEnabled) { LOGW(TAG, "Invalid temperature sensor value: stopping Auto Bypass '%s'", _name); _autoBypassEnabled = false;