mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
log mention thermostat dst setting
This commit is contained in:
@@ -1605,10 +1605,11 @@ void Thermostat::process_RCTime(std::shared_ptr<const Telegram> telegram) {
|
|||||||
if (setTimeRetry < 3) {
|
if (setTimeRetry < 3) {
|
||||||
if (!use_dst) {
|
if (!use_dst) {
|
||||||
set_datetime("ntp", 0); // set from NTP without dst
|
set_datetime("ntp", 0); // set from NTP without dst
|
||||||
|
LOG_INFO("thermostat time correction from ntp, ignoring dst");
|
||||||
} else {
|
} else {
|
||||||
set_datetime("ntp", -1); // set from NTP
|
set_datetime("ntp", -1); // set from NTP
|
||||||
|
LOG_INFO("thermostat time correction from ntp");
|
||||||
}
|
}
|
||||||
LOG_INFO("thermostat time correction from ntp");
|
|
||||||
setTimeRetry++;
|
setTimeRetry++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user