From: lsiepel Date: Wed, 23 Mar 2022 18:26:40 +0000 (+0100) Subject: [plugwiseha] Fix Zone thermostat not updating (#12509) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=5cd28f7096c069d61c8d4addbad44484288857eb;p=openhab-addons.git [plugwiseha] Fix Zone thermostat not updating (#12509) * Fix Zone thermostat not updating Signed-off-by: Leo Siepel --- 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 5f3ed1b921..5aacbc4026 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); } }