xiaomi-hubitat
xiaomi-hubitat copied to clipboard
Door Window Sensor [BETA]
Changes
- Added a state variable to store the current open / close state, to compare to incoming open / close messages and filter out any "false positive" repeat messages
NOTE: If updating a device driver for an already paired sensor, the state variable must be manually initialized by going to the device view in your Hubitat hub's web page, and saving preferences for the sensor.