[avmfritz] Prevent attempt to set brightness of blinds (#11790)

Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
This commit is contained in:
quidam 2021-12-15 18:48:07 +01:00 committed by GitHub
parent 09105cae8e
commit 956f6e722e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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