]> git.basschouten.com Git - openhab-addons.git/commitdiff
[avmfritz] Prevent attempt to set brightness of blinds (#11790)
authorquidam <quidam@users.noreply.github.com>
Wed, 15 Dec 2021 17:48:07 +0000 (18:48 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Dec 2021 17:48:07 +0000 (18:48 +0100)
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/handler/AVMFritzBaseThingHandler.java

index 698f2a89de3ff73257e69f4758cfbe2a233925e4..e9942d1224405bb1f9c8556e23ae013f1d0e3b60 100644 (file)
@@ -158,7 +158,7 @@ public abstract class AVMFritzBaseThingHandler extends BaseThingHandler implemen
                     updateLevelControl(deviceModel.getLevelControlModel());
                 } else if (deviceModel.isColorLight()) {
                     updateColorLight(deviceModel.getColorControlModel(), deviceModel.getLevelControlModel());
-                } else if (deviceModel.isDimmableLight()) {
+                } else if (deviceModel.isDimmableLight() && !deviceModel.isHANFUNBlinds()) {
                     updateDimmableLight(deviceModel.getLevelControlModel());
                 } else if (deviceModel.isHANFUNUnit() && deviceModel.isHANFUNOnOff()) {
                     updateSimpleOnOffUnit(deviceModel.getSimpleOnOffUnit());