@ -165,10 +165,10 @@ void notFound(AsyncWebServerRequest *request) {
}
void thermostatCheck(){
if(temperature < (reqTemp - offset)){
if(temperature <= (reqTemp - offset)){
heating = 1;
digitalWrite(RELAY_PIN, !heating);
}else if(temperature > (reqTemp + offset)){
}else if(temperature >= (reqTemp + offset)){
heating = 0;