mirror of
https://github.com/bahmcloud/HA-KNX-Bridge.git
synced 2026-04-06 16:51:14 +00:00
Fix translation path and quiet subentry warning
This commit is contained in:
@@ -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 {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": "ha_knx_bridge",
|
||||
"name": "HA KNX Bridge",
|
||||
"version": "0.0.10",
|
||||
"version": "0.0.11",
|
||||
"config_flow": true,
|
||||
"documentation": "https://github.com/bahmcloud/HA-KNX-Bridge",
|
||||
"issue_tracker": "https://github.com/bahmcloud/HA-KNX-Bridge/issues",
|
||||
|
||||
73
custom_components/ha_knx_bridge/translations/de.json
Normal file
73
custom_components/ha_knx_bridge/translations/de.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
73
custom_components/ha_knx_bridge/translations/en.json
Normal file
73
custom_components/ha_knx_bridge/translations/en.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user