diff --git a/CHANGELOG.md b/CHANGELOG.md index 87d2627..45b1b7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.0.7 - 2026-02-13 +- Avoid crashing config entries when subentries are unsupported. + ## 0.0.6 - 2026-02-13 - Fix config flow subentry type compatibility with older Home Assistant versions. diff --git a/README.md b/README.md index 2e7b500..71b7813 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,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.6 +- Current version: 0.0.7 - `CHANGELOG.md` lists versions with the newest entries at the top. - Release creation is manual and only done when explicitly requested. diff --git a/custom_components/ha_knx_bridge/config_flow.py b/custom_components/ha_knx_bridge/config_flow.py index 8e570a7..ace6037 100644 --- a/custom_components/ha_knx_bridge/config_flow.py +++ b/custom_components/ha_knx_bridge/config_flow.py @@ -69,7 +69,10 @@ class HAKnxBridgeConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): @callback def async_get_supported_subentry_types(config_entry): if _SUBENTRY_TYPE is None: - raise NotImplementedError("Subentry types are not supported in this HA version") + _LOGGER.warning( + "Config subentries are not supported in this Home Assistant version" + ) + return {} return { "binary_sensor": _SUBENTRY_TYPE( name="Binary Sensor Port", flow_class=BinarySensorPortSubentryFlow diff --git a/custom_components/ha_knx_bridge/manifest.json b/custom_components/ha_knx_bridge/manifest.json index be49e4a..e4a3b75 100644 --- a/custom_components/ha_knx_bridge/manifest.json +++ b/custom_components/ha_knx_bridge/manifest.json @@ -1,7 +1,7 @@ { "domain": "ha_knx_bridge", "name": "HA KNX Bridge", - "version": "0.0.6", + "version": "0.0.7", "config_flow": true, "documentation": "https://github.com/bahmcloud/HA-KNX-Bridge", "issue_tracker": "https://github.com/bahmcloud/HA-KNX-Bridge/issues",