Werk #19716 · Jul 30, 26
Fix TypeError during AKCP discovery
Previously, service discovery on AKCP devices could crash with
TypeError: 'item' must be a non empty string or ommited entirely, got ''
Some AKCP devices intermittently report sensor rows with empty fields. If the sensor description was among them, the row was turned into a service with an empty item, and discovery rejects those.
This has been fixed for the following services:
- AKCP: Drycontact Sensor
- AKCP sensorProbe: Humidity
- AKCP sensorProbe: Temperature
- AKCP securityProbe: Dry Contact
- AKCP securityProbe: Humidity
- AKCP securityProbe: Temperature
- AKCP securityProbe: Water Sensor
- AKCP securityProbe: Smoke Sensor
Rows without a description are now ignored. Rows that kept their description but lost other values are still discovered, so the service does not disappear from your configuration on the next discovery. Such a service goes stale until the device delivers a complete row again.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p11All Editions
- 2.4.0p36All Editions