I have a rule to turn on my deck lights to 99 when the deck door is open at night. At night they idle at 20%. My rule says dim to 99 and then turn on when I open the door. It works, but I keep getting a warning in my logs that says the dimmer is already dimming when the ON command is sent. They are typically at 20% at night until I open the door so I want to change them to full bright, but also make sure they are on in case they are manually turned off. What is the best way to avoid the warning. It's not a big deal, but I feel there is a better way to ensure they are on and at 99%.
Have you tried not doing the turn on after the dim? For mine, when the level is set they turn on.
It's been a thing for a while. I'll disable the turn on, but other than the warning disappearing, I may not notice. There's not a lot of visibility between the 20 and 99%. I'll try to take note.
When you dim >0 you are turning the dimmer to "On". If you dim to 0 then the dimmer is "Off". If you turn "on" the dimmer (when it is "Off") it turns on to the last dim value used.
Iāve disabled the ON commands. Iām used to the older dimmers that would set dim without turning on. Weāll see how these great Zooz dimmers behave. Thanks
Can you explain?
As I said setting dim to any non zero level turns on the dimmer at set that level. I guess you could set dimmer to a level then immediately turn it off if you wanted to āstageā a specific level for a subsequent turn on. Not sure if it would flicker.
I donāt understand why setting a level while off is important I guess.
I think you are talking about "pre-staging". That is the ability to set a level without turning on the device, specific to drivers and devices that support it.
Most Drivers contain statements in setLevel() method to turn the light on if dim level is >0 and switch is not on, and off if it equals zero.

"Can you explain?"
I was setting the level to 99 and then sending a turn on command to ensure the dimmer was actually on. I was getting a warning that it was already dimming. I simply removed the turn on command after setting the dim level to 99.
I have some older devices like old GE Enbrighten that did not seem to turn on after receiving a dim command > 0 so it was my default to always send a on command to ensure a dimmer was actually on when I wanted. Seems that is not required for the ZEN72.