mixing updates

This commit is contained in:
Paul
2020-05-12 18:15:22 +02:00
parent 3801042ea5
commit 97ddf80ea8
10 changed files with 91 additions and 41 deletions

View File

@@ -18,7 +18,6 @@
#include "solar.h"
// MAKE_PSTR_WORD(solar)
MAKE_PSTR(kwh, "kWh")
MAKE_PSTR(wh, "Wh")
@@ -69,8 +68,6 @@ void Solar::show_values(uuid::console::Shell & shell) {
print_value(shell, F("Energy last hour"), F_(wh), Helpers::render_value(buffer, energyLastHour_, 10));
print_value(shell, F("Energy today"), F_(wh), Helpers::render_value(buffer, energyToday_, 0)); // no division
print_value(shell, F("Energy total"), F_(kwh), Helpers::render_value(buffer, energyTotal_, 10));
shell.println();
}
// publish values via MQTT