fix log entry shower duration

This commit is contained in:
MichaelDvP
2024-04-19 09:25:16 +02:00
parent 37ce3047cb
commit 010ca2f2ab

View File

@@ -111,7 +111,7 @@ void Shower::loop() {
char dt[25];
strftime(dt, sizeof(dt), "%FT%T%z", tm_);
doc["timestamp"] = dt;
LOG_INFO("shower finished (duration %s)", dt);
LOG_INFO("shower finished %s (duration %lu s)", dt, duration_ / 1000UL);
} else {
LOG_INFO("shower finished (duration %lu s)", duration_ / 1000UL);
}