I recently undertook a small project replacing a single toggle light switch with a Z-wave enabled dimmer switch, which is also wired to a fan toggle (a knob with 3 speed settings) in a 2-gang case. The original switch and the fan toggle share a hot wire, which I had to cut and splice due to the way the builder had installed it originally (it was just a loop of exposed wire which wrapped around one of the switch's poles). Everything went pretty well (aside from the dimmable CFLs not being as awesome as I would like, but that's tangental), but sometimes when I turn the fan to a different speed, the lights will turn off, but the switch still has power as evidenced by the blue LED at the bottom.
Now, I've done a small bit of experimentation, and this seems to only happen if you turn change the switch rapidly from one speed to another. If you wait about 20-30 seconds between switches, it doesn't do it.
What could be wrong here?
Edit: More Relevant information. The Z-Wave dimmer is rather sensitive, so if it were to lose power for any period of time it would reset to off, which is probably what is happening here.
Diagrams
Pardon my poor diagramming skills, I was never any good at cad.
Before
As you can see, the bottom wire was just wrapped around the bottom pole of the toggle switch, then ran into a wire cap, where it was connected with the fan toggle.
After
So, I cut the loop, and then twisted it together to splice the two wires together, so that I could also splice in the wire coming from the Z-Wave switch.
Edit
Annotated Picture
So here's what's going on in there.
Also, I took some voltage readings. When the Light is off, it is measuring 83v (which I think is normal for a Z-Wave switch, to power its wifi). When the light is all the way on, it reads 13v.
When the fan is off, it is at 122v. On speed setting 1, it is 115v. On 2, 100v. On 3, I can't get a reading at all.