Headlight on warning buzzer ?????

Wouldn't both those items constantly chime/buzz while the lights were on?
One wire is hooked to a "key on" power source and the other wire to the instrument light fuse. There must be a diode or something in there to make it work with 2 wires. Here's one like mine on e-bay. Item number: 160351059258 toolman