Hi,
I don’t know if this is more a core or a binding issue. KNX DPT3 can be used in two modes: continous step or start/stop. In either case the dimming action starts with a decrease/increase telegram. This is properly mapped to INCREASE or DECREASE in the KNX binding. This includes a step size which is not used by the binding at the moment.
In the case of continous dimming, this telegram is repeated until it should stop. In the case of start/stop dimming, a STOP telegram, consisting of a step size of 0 is send to indicate the end of the dimming action. This is translated to INCREASE. The code documents that but every binding will have to workaround this.
It is easy to check if it is a stop telegram in the binding, as Calimero provides that information, however the IncreaseDecreaseType only knows about INCREASE and DECREASE.
IMHO adding STOP to IncreaseDecreaseType is the easiest way to solve that (@kai would that be compatible with ESH type philosophy?).
Any other thoughts/suggestions?
Best Regards,
Jan