[plugwiseha] Fix Zone thermostat not updating (#12509)

* Fix Zone thermostat not updating

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
lsiepel 2022-03-23 19:26:40 +01:00 committed by GitHub
parent b347491d60
commit 5cd28f7096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ public class Locations extends PlugwiseHACollection<Location> {
updatedPointLogs.merge(originalLocation.getPointLogs()); updatedPointLogs.merge(originalLocation.getPointLogs());
} }
ActuatorFunctionalities updatedActuatorFunctionalities = location.getActuatorFunctionalities();
if (updatedActuatorFunctionalities != null) {
updatedActuatorFunctionalities.merge(originalLocation.getActuatorFunctionalities());
}
this.put(id, location); this.put(id, location);
} }
} }