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: Andras Uhrin <andras.uhrin@gmail.com>
  • Loading branch information
quidam authored and andrasU committed Nov 12, 2022
1 parent 9a2a469 commit df15242
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 df15242

Please sign in to comment.