Workaround for contacts

Stupid but efective. Hopefully the expected new DevType will be 6 for
contacts.
Reimplemented contact sensors