Okay, I am stumped. Of course, it doesn't take much to stump me. I have narrowed down a problem I am having to the following code
There is more too it than this snippet. This is where my problem lies.
The intent is to turn all the Kitchen lights off and then only turn certain lights back on at a dimmed level. It works but the lights selected continue on to full brightness only briefly stopping at the dimmed level. Now if I leave the light at their current brightness and just give the dim command everything works okay.
The question is not if this is the best way to accomplish this, the question is why does it not work? I would like to know why the lights are being commanded back to 100%