mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Add temp test
Add temp test
This commit is contained in:
parent
b18eee50e2
commit
a623d1e90b
@ -323,7 +323,7 @@ void EnergyMqttShow(void)
|
||||
void EnergyOverTempCheck()
|
||||
{
|
||||
if (global_update) {
|
||||
if (power && (global_temperature > ENERGY_OVERTEMP)) { // Device overtemp, turn off relays
|
||||
if (power && (global_temperature != 9999) && (global_temperature > ENERGY_OVERTEMP)) { // Device overtemp, turn off relays
|
||||
SetAllPower(POWER_ALL_OFF, SRC_OVERTEMP);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user