Store current price in HA LTS

This commit is contained in:
Gunnar Skjold
2023-09-05 10:54:31 +02:00
parent bcea9698dd
commit 6b0ea0abc0

View File

@@ -524,7 +524,7 @@ void HomeAssistantMqttHandler::publishPriceSensors(EntsoeApi* eapi) {
path,
uom.c_str(),
PriceSensor.devcl,
PriceSensor.stacl
i == 0 ? "total" : PriceSensor.stacl
};
publishSensor(sensor);
prInit[i] = true;