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>
  • Loading branch information
quidam authored and volkmarnissen committed Feb 17, 2022
1 parent cef1ac1 commit a7b3d2d
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 a7b3d2d

Please sign in to comment.