Skip to content

Commit 92e8ef0

Browse files
committed
2 parents c16e209 + a5a7d78 commit 92e8ef0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main/mainworker.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11104,6 +11104,8 @@ bool MainWorker::SetSetPoint(const std::string &idx, const float TempValue, cons
1110411104
tsen.EVOHOME2.mode=newMode;
1110511105
if(newMode==CEvohome::zmTmp)
1110611106
CEvohomeDateTime::DecodeISODate(tsen.EVOHOME2,until.c_str());
11107+
else
11108+
tsen.EVOHOME2.year=0xFFFF;
1110711109
WriteToHardware(HardwareID,(const char*)&tsen,sizeof(tsen.EVOHOME2));
1110811110

1110911111
//Pass across the current controller mode if we're going to update as per the hw device

0 commit comments

Comments
 (0)