From 5cd28f7096c069d61c8d4addbad44484288857eb Mon Sep 17 00:00:00 2001 From: lsiepel Date: Wed, 23 Mar 2022 19:26:40 +0100 Subject: [PATCH] [plugwiseha] Fix Zone thermostat not updating (#12509) * Fix Zone thermostat not updating Signed-off-by: Leo Siepel --- .../binding/plugwiseha/internal/api/model/dto/Locations.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bundles/org.openhab.binding.plugwiseha/src/main/java/org/openhab/binding/plugwiseha/internal/api/model/dto/Locations.java b/bundles/org.openhab.binding.plugwiseha/src/main/java/org/openhab/binding/plugwiseha/internal/api/model/dto/Locations.java index 5f3ed1b92..5aacbc402 100644 --- a/bundles/org.openhab.binding.plugwiseha/src/main/java/org/openhab/binding/plugwiseha/internal/api/model/dto/Locations.java +++ b/bundles/org.openhab.binding.plugwiseha/src/main/java/org/openhab/binding/plugwiseha/internal/api/model/dto/Locations.java @@ -42,6 +42,11 @@ public class Locations extends PlugwiseHACollection { updatedPointLogs.merge(originalLocation.getPointLogs()); } + ActuatorFunctionalities updatedActuatorFunctionalities = location.getActuatorFunctionalities(); + if (updatedActuatorFunctionalities != null) { + updatedActuatorFunctionalities.merge(originalLocation.getActuatorFunctionalities()); + } + this.put(id, location); } }