Z-Wave Switches vs Contacts, and the database

Have fun reading: