From 03f2c92ecef086339116996eaf7d75496a973493 Mon Sep 17 00:00:00 2001 From: Ulrich Mertin Date: Wed, 15 Dec 2021 17:53:44 +0100 Subject: [PATCH] [avmfritz] Prevent attempt to set brightness of blinds Signed-off-by: Ulrich Mertin --- .../avmfritz/internal/handler/AVMFritzBaseThingHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/handler/AVMFritzBaseThingHandler.java b/bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/handler/AVMFritzBaseThingHandler.java index c587b45ce4fa9..1748a3aaea784 100644 --- a/bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/handler/AVMFritzBaseThingHandler.java +++ b/bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/handler/AVMFritzBaseThingHandler.java @@ -159,7 +159,7 @@ public void onDeviceUpdated(ThingUID thingUID, AVMFritzBaseModel device) { } if (deviceModel.isColorLight()) { updateColorLight(deviceModel.getColorControlModel(), deviceModel.getLevelControlModel()); - } else if (deviceModel.isDimmableLight()) { + } else if (deviceModel.isDimmableLight() && !deviceModel.isHANFUNBlinds()) { updateDimmableLight(deviceModel.getLevelControlModel()); } else if (device.isHANFUNUnit() && device.isHANFUNOnOff()) { updateSimpleOnOffUnit(device.getSimpleOnOffUnit());