Skip to content

Commit

Permalink
[avmfritz] Prevent attempt to set brightness of blinds (openhab#11790)
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
  • Loading branch information
quidam authored and NickWaterton committed Dec 30, 2021
1 parent 0f331b6 commit 3c20092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void onDeviceUpdated(ThingUID thingUID, AVMFritzBaseModel device) {
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());
Expand Down

0 comments on commit 3c20092

Please sign in to comment.