v1.14.7: Fix binary sensors
Critical fix
Binary sensors now work correctly
XCCBinarySensor was completely broken due to an architectural mismatch that caused AttributeError on initialization.
Root cause:
- XCCBinarySensor inherited from CoordinatorEntity (not XCCEntity)
- It called _get_entity_name() in init, but that method only exists in XCCEntity
- All 26 binary_sensor entities failed to create with: 'XCCBinarySensor' object has no attribute '_get_entity_name'
Fix:
- Changed XCCBinarySensor to inherit from XCCEntity (matching sensor, switch, number, select platforms)
- Aligned constructor signature to take entity_data dict like other platforms
- Removed redundant entity description fields that XCCEntity handles automatically
After this fix, all STATUS.XML binary sensors (SCHLAZENI, STEPTUV, SHDOIGNORE, SHDOSTAV, SSTAVJEDNOTKY, SSTAVKOTLU, SOBEH0-9 RUN/VIS) are correctly created in Home Assistant.
Related
This completes the STATUS.XML feature introduced in v1.14.5.