I have a few Konnected alarm panels that have stopped reporting changes to contact sensors. It looks like the Konnected driver code (Konnected Alarm Panel) calls childDevice.getSupportedAttributes().first() that used to report "contact" but now reports "battery". I believe that this change was made in the Generic Component Contact Sensor code a day or so ago to put battery as the first attribute. Not sure if that can be changed or if Konnected needs to now change their code. But I believe that this is what has stopped my alarm panels from reporting correctly.
I believe that this started with 2.4.3.131.
Thanks for your time.
Please provide your hub model (C7, C8, etc.) and its platform version from Settings>Hub Details.
Check out the following post for help troubleshooting problems and gathering details that will help others to identify and solve the problem you are experiencing: โผ READ FIRST - Before Posting in Get Help
Battery was recently added to some component drivers, including this one. But there's no inherent meaning in the order of the attributes, so I'm not sure what the intent with calling first() on this list is. Should it just be checking if it contains "contact" instead, or some other solution? Something like that seems like it would make more sense offhand, without knowing or seeing any context.
IMO Konnected should update their driver. What they did was a bad idea and assumed the built in child drivers would never change.
@bertabcd1234 I am guessing since most of the component drivers like that only have one attribute using .first() was the super easy, bad idea, way to just grab the only attribute.
Proper way IMO would be to use .find with a closure to get just the desired attribute.
Man, i wish i understood this a little better. Thanks to everyone posting here - i was able to revert back to a prior firmware and get my Konnected sensors working again. Terrible timing on my part - i hadnโt attempted to use the Konnected boards in a couple of years - the worked for a day until I updated and then stopped. I thought i was losing my mind.
No problem and thanks for the gift card! I just made the suggested changes and validated.
Didn't realize that this issue was already being discussed here while I was troubleshooting the issue over the weekend.
This has been fixed in 2025.10.0 which you can update from HPM or download and install the AlarmPanel.zip package into Hubitat to overwrite the old version.
Thanks again @kamransiddiqi1998 for the fix and @ogiewon for the heads up and everyone else for their input in identifying the problem.
Let me know if you run into trouble with the update.