2 Commits

Author SHA1 Message Date
0fa390fd7f Fix KNX event listener fallback 2026-02-13 20:07:23 +01:00
4660344a89 Fix translation path and quiet subentry warning 2026-02-13 19:52:26 +01:00
7 changed files with 18 additions and 6 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 0.0.12 - 2026-02-13
- Fix KNX event listener setup for HA versions without async_track_event helper.
## 0.0.11 - 2026-02-13
- Move translations into the integration folder so UI labels render.
- Downgrade missing subentry support log to debug.
## 0.0.10 - 2026-02-13
- Add translations for options flow menu labels.

View File

@@ -67,6 +67,6 @@ Each group address has `invert incoming` and `invert outgoing` toggles to flip K
- Advanced DPT mapping options and inversion settings.
## Versioning and Releases
- Current version: 0.0.10
- Current version: 0.0.12
- `CHANGELOG.md` lists versions with the newest entries at the top.
- Release creation is manual and only done when explicitly requested.

View File

@@ -329,9 +329,14 @@ class BridgeManager:
)
if self._address_handlers:
if hasattr(event_helper, "async_track_event"):
self._knx_event_unsub = event_helper.async_track_event(
self.hass, "knx_event", self._handle_knx_event
)
else:
self._knx_event_unsub = self.hass.bus.async_listen(
"knx_event", self._handle_knx_event
)
await self._register_knx_events()

View File

@@ -70,7 +70,7 @@ class HAKnxBridgeConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
def async_get_supported_subentry_types(config_entry):
subentry_type = _get_subentry_type()
if subentry_type is None:
_LOGGER.warning(
_LOGGER.debug(
"Config subentries are not supported in this Home Assistant version"
)
return {}

View File

@@ -1,7 +1,7 @@
{
"domain": "ha_knx_bridge",
"name": "HA KNX Bridge",
"version": "0.0.10",
"version": "0.0.12",
"config_flow": true,
"documentation": "https://github.com/bahmcloud/HA-KNX-Bridge",
"issue_tracker": "https://github.com/bahmcloud/HA-KNX-Bridge/issues",