Actually the dimming function is part of the touch sensor so I would have to program that with PWM. But I'm pretty sure that's not gonna workout with an incandescent bulb. Will one of those LED replacement bulbs work? I feel like the easiest thing might just be doing what I said and putting an additional capacitive sensor wire with the other one so that the Arduino gets info when the lamp gets switched and then going from there. Or is that a dumb idea? Thanks.