I have an Aqara hub M3, and joined to that hub a Aqara Matter Contact Sensor P2.
When i join the Aqara hub to Hubitat over matter, it seems to pair nicely and shows connected to Hubitat.
but when I click configure, i'm presented with the error: java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0 on line 284 (method configure)
The log from clicking configure to the error:
[dev:6927](https://192.168.1.5/logs?tab=past&deviceId=6927#)2024-12-21 17:58:59.551[error](https://192.168.1.5/logs?tab=past&deviceId=6927#)java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0 on line 284 (method configure)
[dev:6927](https://192.168.1.5/logs?tab=past&deviceId=6927#)2024-12-21 17:58:59.543[debug](https://192.168.1.5/logs?tab=past&deviceId=6927#)Endpoints found: []
[dev:6927](https://192.168.1.5/logs?tab=past&deviceId=6927#)2024-12-21 17:58:59.503[warn](https://192.168.1.5/logs?tab=past&deviceId=6927#)configure()
Strange thing is that when I use kkossev's matter bridge driver, I'm not presented with any error, but the contact sensor is also not found.
When I pair the sensor itself from the Aqara hub with a matter code to Hubitat, the sensor is found and works like a charm.
Is this a known issue?