Virtual switches and Alexa

if you want a device that can be both a contact sensor and a switch and stay in sync, check out uDTH.