[millheat] Possibly wrong use of isHoliday instead of canChangeTemp (#12413)

* Possibly wrong use of isHoliday instaed of canChangeTemp

Signed-off-by: Arne Seime <arne.seime@gmail.com>
This commit is contained in:
Arne Seime 2022-03-07 21:37:08 +01:00 committed by GitHub
parent 29cba86a23
commit 38a14b821d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class Heater {
name = dto.deviceName;
macAddress = dto.macAddress;
heatingActive = dto.heaterFlag;
canChangeTemp = dto.holiday;
canChangeTemp = dto.canChangeTemp;
subDomain = dto.subDomainId;
currentTemp = (int) dto.currentTemp;
setTargetTemp(dto.holidayTemp);