Some debugging changes and other optimizations

This commit is contained in:
Gunnar Skjold
2023-04-18 11:50:44 +02:00
parent 7bed5add5d
commit c4005f10a3
12 changed files with 169 additions and 87 deletions

View File

@@ -145,7 +145,6 @@ bool HomeAssistantMqttHandler::publishTemperatures(AmsConfiguration* config, HwT
);
data->changed = false;
publishTemperatureSensor(i+1, id);
delay(1);
}
}
char* pos = buf+strlen(buf);
@@ -339,6 +338,8 @@ void HomeAssistantMqttHandler::publishSensor(const HomeAssistantSensor& sensor)
#elif defined(ESP8266)
ESP.wdtFeed();
#endif
yield();
}
void HomeAssistantMqttHandler::publishList1Sensors() {