log mention thermostat dst setting

This commit is contained in:
MichaelDvP
2024-10-30 16:47:19 +01:00
parent 52adf6749e
commit 971e2869a2

View File

@@ -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 {