mirror of
https://github.com/bahmcloud/HA-KNX-Bridge.git
synced 2026-04-06 16:51:14 +00:00
Handle missing subentry support
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user