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

Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
pull/11797/head
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
1 changed files with 1 additions and 1 deletions

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());