mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix log entry shower duration
This commit is contained in:
@@ -111,7 +111,7 @@ void Shower::loop() {
|
|||||||
char dt[25];
|
char dt[25];
|
||||||
strftime(dt, sizeof(dt), "%FT%T%z", tm_);
|
strftime(dt, sizeof(dt), "%FT%T%z", tm_);
|
||||||
doc["timestamp"] = dt;
|
doc["timestamp"] = dt;
|
||||||
LOG_INFO("shower finished (duration %s)", dt);
|
LOG_INFO("shower finished %s (duration %lu s)", dt, duration_ / 1000UL);
|
||||||
} else {
|
} else {
|
||||||
LOG_INFO("shower finished (duration %lu s)", duration_ / 1000UL);
|
LOG_INFO("shower finished (duration %lu s)", duration_ / 1000UL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user