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;