Added realtime day use to MQTT

This commit is contained in:
Gunnar Skjold
2022-03-17 18:51:13 +01:00
parent a92524eaf8
commit beafcd300b
8 changed files with 9 additions and 5 deletions

View File

@@ -202,10 +202,6 @@ uint8_t EnergyAccounting::getCurrentThreshold() {
return config->thresholds[currentThresholdIdx];
}
uint8_t EnergyAccounting::getCurrentHour() {
return currentHour;
}
float EnergyAccounting::getMonthMax() {
return data.maxHour / 100.0;
}