Neutral wire on Electrical Timer Switch to ground?
Wired in a timer for a bathroom fan (the type where you can selected 5min/10min etc and it shuts of after that). In the "wall box" was a single wire group, with a White, Red, Black, and Ground (bare). The White was Hot, Red was cold side for fan, Black was cold side for light. The timer switch had a Hot (black), Cold (red), Ground (Green), and Neutral (white). The only way I could get the electronics of the switch to work in conjunction with the light switch was to route the Neutral (white) on the switch into the Ground (green) which was already connected to the box ground screw and bare wire ground from the box. Is this wrong, and can it cause electrical issues? If I ran the Neutral wire to the Black (cold for light) it would work, but then when that was energized by flipping the light switch it would shut off the fan.