You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another variation of #15905 is when the same state information as merged in that PR is sent in two separate messages (in this case having an existing dimming value of 0):
When processing the first message, on is changing from off to on, but dimming is still 0. This is a conflict, and currently the binding will interpret that as off/0:
Another variation of this scenario is when the same device is off, and then dimmed to a low value on its physical button. In that case we received on=on, but we don't receive any brightness value, so it will stay 0. Therefore it will also stay off. In the Hue app it will turn on with brightness 1%. The device does not have any defined minimum dimming level.
The logic applied on the inconsistent data is here:
Another variation of #15905 is when the same state information as merged in that PR is sent in two separate messages (in this case having an existing dimming value of 0):
and:
When processing the first message, on is changing from off to on, but dimming is still 0. This is a conflict, and currently the binding will interpret that as off/0:
Another variation of this scenario is when the same device is off, and then dimmed to a low value on its physical button. In that case we received on=on, but we don't receive any brightness value, so it will stay 0. Therefore it will also stay off. In the Hue app it will turn on with brightness 1%. The device does not have any defined minimum dimming level.
The logic applied on the inconsistent data is here:
openhab-addons/bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/api/dto/clip2/Resource.java
Lines 169 to 188 in b490b56
Expected Behavior
The latest received values should take precedence. If some information is missing in the received event, we should try to extrapolate.
Current Behavior
When receiving on=on, the brightness will stay 0% and effectively it will still be off.
Possible Solution
See discussion here: #15905 (comment)
Steps to Reproduce
Currently I have only reproduce this with an LK Wiser Dimmer which is based on Tuya technology, which means it is not fully Zigbee compliant.
Context
The consequence of this behavior is the same as described in #15700.
Your Environment
The text was updated successfully, but these errors were encountered: