I don’t know if I have understood the DTH code correctly, but I think that the main objective of the dth is to smooth the defaults transitions between the on-off state, level and color changes, since the adjustable times for the transitions that can be set between 0 and 10 seconds for each function, on-off, level and color.
The main objective I was looking for making this driver was not to smooth transitions between level or color changes and in fact it cannot.
The progressive on and off was intended to replace the function of the gentle wake up smartapp, in which you choose the initial & end intensity level, and the time it takes to go from the beginning to the end.
I set the minimum time at 6 sec, but it can be lowered.
In the driver, the time between each level change for total transition times less than 42 sec is 0.5 sec.
I have lowered it for a test, to 0.1 sec per step and I can leave it at that value for small transition times, but it does not improve the effect much since the real total times (Hub Process, transmission, reception and execution in device) are greater than 0.1 sec.
The philosophy of DTH seems to change the default transition time or rate argument that is sent in the command and then executed on the bulb itself.
In the default edge libraries it has established default transition or rates times and I cannot find or know how to modify them, sorry
Thanks for your comments!