I have a Heiman Zigbee Natural Gas Detector in my furnace room to help detect a natural gas leak. One of the things I'm noticing when I'm writing my rule is that it's showing the clear status as "False" even though it's currently in the clear state. Any idea why this wouldn't be true?
There are 2 states for rules. True and False. In your case you're saying that if gas is detected do what ever. Well gas is not currently detected (it's clear) so that portion of the rule is false so there is nothing for it to do. If you get a gas leak and your sensor goes off, that will turn to true and continue with the rest of the rule.
Yes but the second if should be showing as true.
Try changing the condition to use a custom attribute instead and manually select naturalGas? Is the built in feature using the wrong attribute maybe?
Based on the wording of the rule I think it might be looking for an attribute named "gas" not natrualGas as shown on your device. Is that a built in driver or a custom?
Are you updated to current hub FW? I know saw some talk about this device in beta and/or release notes. I don't use anything like this so I was not paying attention to it.
Have you tried making it using the Custom Attribute option instead? I suspect that will work. You may need to do it on the trigger and both If conditions.
I believe that the HE people recently changed the driver for this device.
Make sure that you have the "new" version.
I would also like to suggest that an easy way to do this detection is through the custom monitoring in HSM. (This was recently fixed for the Heinman Gas Detector - I've tried it and it now works.) @inkjety
These? US $29.90 | Zigbee 3.0 Heiman Nateral ,CH4 ,LPG Combustible Gas Leakage Sensor Works With SmartThing,Deconz and Homeassistant https://a.aliexpress.com/_mPMBJWy