diff --git a/CHANGELOG.md b/CHANGELOG.md index 26e220b..cb15449 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.0.10 - 2026-02-13 +- Add translations for options flow menu labels. + ## 0.0.9 - 2026-02-13 - Add options flow fallback to add/remove ports when subentries are unavailable. diff --git a/README.md b/README.md index 34f487b..03d5b98 100644 --- a/README.md +++ b/README.md @@ -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.9 +- Current version: 0.0.10 - `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/manifest.json b/custom_components/ha_knx_bridge/manifest.json index 30a3cb6..a203a42 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.9", + "version": "0.0.10", "config_flow": true, "documentation": "https://github.com/bahmcloud/HA-KNX-Bridge", "issue_tracker": "https://github.com/bahmcloud/HA-KNX-Bridge/issues", diff --git a/translations/de.json b/translations/de.json new file mode 100644 index 0000000..97d99ca --- /dev/null +++ b/translations/de.json @@ -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" + } + } + } + } +} diff --git a/translations/en.json b/translations/en.json new file mode 100644 index 0000000..a3fc1d9 --- /dev/null +++ b/translations/en.json @@ -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" + } + } + } + } +}