1) Give a description of the problem
Trying to design motion lighting similar to “Gentle Wake” app
2) What is the expected behavior?
When motion is detected at between a certain time the light will gradually turn on from 1% to 100% over a period of time. If the light switch is pressed then it would turn on to full power.
The gentle wake up app always restarted after you turned the light off and tried to turn back on…