2 Commits

Author SHA1 Message Date
4660344a89 Fix translation path and quiet subentry warning 2026-02-13 19:52:26 +01:00
de0146ccae Add options flow translations 2026-02-13 19:45:50 +01:00
6 changed files with 156 additions and 3 deletions

View File

@@ -1,5 +1,12 @@
# Changelog # Changelog
## 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.
## 0.0.9 - 2026-02-13 ## 0.0.9 - 2026-02-13
- Add options flow fallback to add/remove ports when subentries are unavailable. - Add options flow fallback to add/remove ports when subentries are unavailable.

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. - Advanced DPT mapping options and inversion settings.
## Versioning and Releases ## Versioning and Releases
- Current version: 0.0.9 - Current version: 0.0.11
- `CHANGELOG.md` lists versions with the newest entries at the top. - `CHANGELOG.md` lists versions with the newest entries at the top.
- Release creation is manual and only done when explicitly requested. - Release creation is manual and only done when explicitly requested.

View File

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

View File

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

View File

@@ -0,0 +1,73 @@
{
"options": {
"abort": {
"no_ports_to_remove": "Es gibt noch keine Ports zum Entfernen."
},
"step": {
"init": {
"title": "HA KNX Bridge Optionen",
"description": "Ports verwalten, wenn Subentries nicht verfügbar sind.",
"menu_options": {
"add_binary_sensor": "Binary-Sensor-Port hinzufügen",
"add_switch": "Schalter-Port hinzufügen",
"add_cover": "Cover-Port hinzufügen",
"remove_port": "Port entfernen"
}
},
"add_binary_sensor": {
"title": "Binary-Sensor-Port hinzufügen",
"data": {
"entity_id": "Binary-Sensor-Entity",
"state_address": "State-Gruppenadresse (DPT 1)",
"state_address_invert_incoming": "Eingehend invertieren",
"state_address_invert_outgoing": "Ausgehend invertieren"
}
},
"add_switch": {
"title": "Schalter-Port hinzufügen",
"data": {
"entity_id": "Schalter-Entity",
"command_address": "Command-Gruppenadresse (DPT 1)",
"command_address_invert_incoming": "Eingehend invertieren",
"command_address_invert_outgoing": "Ausgehend invertieren",
"state_address": "State-Gruppenadresse (DPT 1)",
"state_address_invert_incoming": "Eingehend invertieren",
"state_address_invert_outgoing": "Ausgehend invertieren"
}
},
"add_cover": {
"title": "Cover-Port hinzufügen",
"data": {
"entity_id": "Cover-Entity",
"move_long_address": "Move long (DPT 1.008 Auf/Ab)",
"move_long_address_invert_incoming": "Eingehend invertieren",
"move_long_address_invert_outgoing": "Ausgehend invertieren",
"move_short_address": "Move short (DPT 1.007 Schritt)",
"move_short_address_invert_incoming": "Eingehend invertieren",
"move_short_address_invert_outgoing": "Ausgehend invertieren",
"stop_address": "Stop (DPT 1)",
"stop_address_invert_incoming": "Eingehend invertieren",
"stop_address_invert_outgoing": "Ausgehend invertieren",
"position_address": "Position setzen (DPT 5.001)",
"position_address_invert_incoming": "Eingehend invertieren",
"position_address_invert_outgoing": "Ausgehend invertieren",
"position_state_address": "Positionsstatus (DPT 5.001)",
"position_state_address_invert_incoming": "Eingehend invertieren",
"position_state_address_invert_outgoing": "Ausgehend invertieren",
"angle_address": "Tilt setzen (DPT 5.001)",
"angle_address_invert_incoming": "Eingehend invertieren",
"angle_address_invert_outgoing": "Ausgehend invertieren",
"angle_state_address": "Tilt-Status (DPT 5.001)",
"angle_state_address_invert_incoming": "Eingehend invertieren",
"angle_state_address_invert_outgoing": "Ausgehend invertieren"
}
},
"remove_port": {
"title": "Port entfernen",
"data": {
"port_id": "Zu entfernender Port"
}
}
}
}
}

View File

@@ -0,0 +1,73 @@
{
"options": {
"abort": {
"no_ports_to_remove": "There are no ports to remove yet."
},
"step": {
"init": {
"title": "HA KNX Bridge Options",
"description": "Manage ports when subentries are unavailable.",
"menu_options": {
"add_binary_sensor": "Add binary sensor port",
"add_switch": "Add switch port",
"add_cover": "Add cover port",
"remove_port": "Remove port"
}
},
"add_binary_sensor": {
"title": "Add Binary Sensor Port",
"data": {
"entity_id": "Binary sensor entity",
"state_address": "State group address (DPT 1)",
"state_address_invert_incoming": "Invert incoming",
"state_address_invert_outgoing": "Invert outgoing"
}
},
"add_switch": {
"title": "Add Switch Port",
"data": {
"entity_id": "Switch entity",
"command_address": "Command group address (DPT 1)",
"command_address_invert_incoming": "Invert incoming",
"command_address_invert_outgoing": "Invert outgoing",
"state_address": "State group address (DPT 1)",
"state_address_invert_incoming": "Invert incoming",
"state_address_invert_outgoing": "Invert outgoing"
}
},
"add_cover": {
"title": "Add Cover Port",
"data": {
"entity_id": "Cover entity",
"move_long_address": "Move long (DPT 1.008 Up/Down)",
"move_long_address_invert_incoming": "Invert incoming",
"move_long_address_invert_outgoing": "Invert outgoing",
"move_short_address": "Move short (DPT 1.007 Step)",
"move_short_address_invert_incoming": "Invert incoming",
"move_short_address_invert_outgoing": "Invert outgoing",
"stop_address": "Stop (DPT 1)",
"stop_address_invert_incoming": "Invert incoming",
"stop_address_invert_outgoing": "Invert outgoing",
"position_address": "Set position (DPT 5.001)",
"position_address_invert_incoming": "Invert incoming",
"position_address_invert_outgoing": "Invert outgoing",
"position_state_address": "State position (DPT 5.001)",
"position_state_address_invert_incoming": "Invert incoming",
"position_state_address_invert_outgoing": "Invert outgoing",
"angle_address": "Set tilt (DPT 5.001)",
"angle_address_invert_incoming": "Invert incoming",
"angle_address_invert_outgoing": "Invert outgoing",
"angle_state_address": "State tilt (DPT 5.001)",
"angle_state_address_invert_incoming": "Invert incoming",
"angle_state_address_invert_outgoing": "Invert outgoing"
}
},
"remove_port": {
"title": "Remove Port",
"data": {
"port_id": "Port to remove"
}
}
}
}
}