@James - you may have inadvertently described a workable solution to what I am trying to do
Whereas my automations typically have lights at dim levels, my wife expects full brightness when she taps the switch. Rather than solving it when the light turns off, maybe it is better for me to do it when the light turns on. I would just need to use a variable to track how the switch came to be activated.
Trigger = light changes to on. If variable “setByRule” is false, then set level to 100.
Back to @Stan_Silverman’s use case (sorry for my detour). How do you want the light to be turned on? If it is by rules, then a variable might be the ticket (fade from zero to level over a short time).