zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

brightness_move only works in one direction

Open merlinschumacher opened this issue 6 years ago • 4 comments

What happened

I used brightness_move to raise or lower the brightness of a bulb. After choosing one direction (eg. raise) zigbee2mqtt will always choose to raise the brighness, even if i specify a negative value. This also happens the other way around. The only workaround is to reset the brightness to an absolute value.

What did you expect to happen

brightness_move should raise or lower the brightness according to the given numerical value

How to reproduce it (minimal and precise)

Send {"brightness_move": 10} to a lamp, followed by {"brightness_move": stop}. Then send {"brightness_move": -10} and the brightness will continue to rise.

Debug Info

zigbee2mqtt version: 1.9.0 CC253X firmware version: 20190619 source routing

merlinschumacher avatar Jan 16 '20 23:01 merlinschumacher

I just can approve that too. After updating to 1.9.0 brightness_move only works in positive direction.

bifi2090 avatar Jan 17 '20 15:01 bifi2090

Should be fixed in latest dev, please let me know.

Koenkk avatar Jan 17 '20 21:01 Koenkk

Latest dev fixed that Problem for me. Thx

bifi2090 avatar Jan 18 '20 08:01 bifi2090

Thanks for confirming!

Koenkk avatar Jan 18 '20 08:01 Koenkk