1) Give a description of the problem
I want someone to give this a once over. There are things that could be done better, and I’d love for this to be optimized.
2) What is the expected behavior?
I’m not even sure if I need async, but after adding it, it seemed to get rid of the semaphore logging all of the time for a while. The concept is that the lights above the cabinets turn on an hour before sunset. The dim down to 15% when the kitchen light is off and there is no motion and trigger to 100% with motion or if the kitchen light turns on. In night mode, the long strip turns off and it’s used as a nightlight. the strip that is on brightens up to 100% if there is motion then dims back to 15% when it’s quiet again.
3) What is happening/not happening?
It’s performing as it should. I overthink everything and would like this to have a once over so that I can learn the more efficient ways to set something like this up.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
I really don’t have any logs because I guess i had them off and there’s really not a lot of activity with them during the day because they’re off at this time.