Using a Contact sensor as a light switch?

Thanks, Terry.
I suppose I could even just use a completely different DH for it…like, just use a switch DH for it instead of the contact DH. Right?

So, I guess the only stumbling block with my idea is the fact that I wouldn’t be able to mount it inside of the box in the wall, and would need to put it outside on the wall or something. I guess I will experiment with a couple things to see if there is any way of doing this without making my place look all whacked-out with boxes and wires all over every switch plate lol