diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index b860cb26f..36eea00f7 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -1745,7 +1745,7 @@ bool Thermostat::set_datetime(const char * value, const int8_t id) { } data[0] = tm_->tm_year - 100; // Bosch counts from 2000 - data[1] = tm_->tm_mon; + data[1] = tm_->tm_mon + 1; data[2] = tm_->tm_hour; data[3] = tm_->tm_mday; data[4] = tm_->tm_min; @@ -2308,4 +2308,4 @@ void Thermostat::add_commands() { } -} // namespace emsesp \ No newline at end of file +} // namespace emsesp