This is a great driver to replace the virtual switch and it can be made to also look like a contact sensor.