The plan is to turn on (to 20%) a lamp controlled by a dimmer plug at sunset if it is not already on. To test the rule, I turned on the lamp to full brightness, and I changed "sunset" to a specific time so I could watch what happened. When the time matched, the lamp dimmed to 20%, even though it was already on at 100%. The rule works as expected when the event occurs and the lamp is off, i.e., it turns the lamp on to 20%.
What am I not understanding about this with regard to the lamp dimming to 20% when it is already at 100%? My HE is at 2.3.6.145.
Also, I think you'll need to rethink that condition. Do you only want this to happen if the light is currently off? If so, you want a condition related to the "switch" and not "dimmer" (level) capability. That's what tells you if the light is on or off. The level will almost always be the last level the device was on at, even when the device is currently off--they are separate attributes.