X-Sense Home Security v0.1.2
X-Sense Home Security v0.1.2
Runtime compatibility fix release.
Repository: https://github.com/javaDevJT/ha-xsense-home
What Changed
- Fix MQTT subscription setup on current Home Assistant versions.
- Add stable per-topic
subscription_idgeneration for the X-Sense MQTT bridge. - Add regression coverage so direct
Subscription(...)construction cannot omitsubscription_id. - Bump the custom integration manifest version to
0.1.2.
Root Cause
Home Assistant's MQTT Subscription dataclass now requires subscription_id. The imported X-Sense bridge was still using the older six-argument constructor, causing setup refresh to fail before the X-Sense data coordinator could subscribe to MQTT events.
Validation
python3 -m unittest discover -s tests -vpython3 -m compileall -q custom_components/xsense testsgit diff --check
Known Gaps
- Needs confirmation in a running Home Assistant instance with X-Sense devices.