From d6dc5e25327305ddb0cc609a23d0b4674bee6641 Mon Sep 17 00:00:00 2001 From: TD-er Date: Tue, 3 Oct 2023 08:51:22 +0200 Subject: [PATCH] [P039_Thermosensors] Fix check for valid value As reported on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=66350#p66350) --- src/_P039_Thermosensors.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_P039_Thermosensors.ino b/src/_P039_Thermosensors.ino index 406013b21d..fd53e5520c 100644 --- a/src/_P039_Thermosensors.ino +++ b/src/_P039_Thermosensors.ino @@ -613,7 +613,7 @@ boolean Plugin_039(uint8_t function, struct EventStruct *event, String& string) break; } - if (!isValidFloat(Plugin_039_Celsius)) + if (isValidFloat(Plugin_039_Celsius)) { UserVar[event->BaseVarIndex] = Plugin_039_Celsius;