Brightness adjustment of a light bulb

If a bulb is off, changing its brightness turns the bulb on. Is there a way to keep the bulb off while remembering the brightness setting? (maybe in z2m?)