mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
ignore power-on reset value (85.0 °C)
This commit is contained in:
@@ -154,7 +154,8 @@ boolean Plugin_004(byte function, struct EventStruct * event, String& string)
|
||||
|
||||
if (Plugin_004_DS_readTemp(addr, &value))
|
||||
{
|
||||
UserVar[event->BaseVarIndex] = value;
|
||||
if (value != 85.0) // ignore power on reset value
|
||||
UserVar[event->BaseVarIndex] = value;
|
||||
log += UserVar[event->BaseVarIndex];
|
||||
success = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user