Fixed bug

This commit is contained in:
Gunnar Skjold
2023-12-24 06:30:36 +01:00
parent 8e65f1fe14
commit 1775d0abce
2 changed files with 2 additions and 2 deletions

View File

@@ -319,7 +319,7 @@ bool HomeAssistantMqttHandler::publishPrices(EntsoeApi* eapi) {
bool HomeAssistantMqttHandler::publishSystem(HwTools* hw, EntsoeApi* eapi, EnergyAccounting* ea) {
if(topic.isEmpty() || !mqtt.connected())
return false;
publishSystemSensors();
if(hw->getTemperature() > -50) publishTemperatureSensor(0, "");