This is an advanced device handler for the GoControl/Linear Contact Sensor (WADWAZ-1) that allows you to use the internal and external sensors as different capabilities.
If all you want to do is use this device as a normal contact sensor, use my other device handler located here.
Features
-
Supports the Contact Sensor, Water Sensor and Motion Sensor capabilities.
-
Choose which contact (internal/external/main) and which state (open/close) go with each of the motion and water states (wet/dry/active/inactive).
-
Choose which capability to use for the main tile.
-
Choose which capability to use for the secondary status on the main tile.
-
Choose default state to use for the capabilities that are not being used.
-
Has all the features that the basic version has like the ability to decide if the internal, external or a combination of both cause the Contact Capability to change.
Screenshots
           ÂAdditional Info
-
When you use the magnet to open/close the contact it’s considered the internalContact and when you open/close it using wires it’s considered the externalContact.
-
The event fields allow you to choose states for “internalContact”, “externalContact”, and “contact”. If you choose “contact” it will determine the state based on the “Main Contact Behavior” setting.
-
You can hide the Secondary Status on the main tile by changing the “Secondary Status Attribute” setting to none.
-
If you’re not using one of the capabilities, like Water Sensor, and you always want it to report dry you can set the “Water Wet Event” to “none” and the “Water Dry Event” to “default”.