]> git.basschouten.com Git - openhab-addons.git/commitdiff
[millheat] Possibly wrong use of isHoliday instead of canChangeTemp (#12413)
authorArne Seime <seime@users.noreply.github.com>
Mon, 7 Mar 2022 20:37:08 +0000 (21:37 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Mar 2022 20:37:08 +0000 (21:37 +0100)
* Possibly wrong use of isHoliday instaed of canChangeTemp

Signed-off-by: Arne Seime <arne.seime@gmail.com>
bundles/org.openhab.binding.millheat/src/main/java/org/openhab/binding/millheat/internal/model/Heater.java

index d393f219a4ef10cec0fb534039bd39296b1777e9..4a3788d3f5aaba4b447bef1185ec9f6ad2c648c0 100644 (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);