mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 23:22:02 +01:00
[avmfritz] Prevent attempt to set brightness of blinds (#11790)
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
This commit is contained in:
parent
09105cae8e
commit
956f6e722e
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user