Use reference strings in konnected (#41290)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
SNoof85 2020-10-06 11:49:46 +02:00 committed by GitHub
parent 883c9b5e18
commit c5653ec57b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,11 +18,11 @@
}
},
"error": {
"cannot_connect": "Unable to connect to a Konnected Panel at {host}:{port}"
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
},
"abort": {
"unknown": "Unknown error occurred",
"already_configured": "Device is already configured",
"unknown": "[%key:common::config_flow::error::unknown%]",
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
"not_konn_panel": "Not a recognized Konnected.io device"
}
@ -62,7 +62,7 @@
"description": "{zone} options",
"data": {
"type": "Binary Sensor Type",
"name": "Name (optional)",
"name": "[%key:common::config_flow::data::name%] (optional)",
"inverse": "Invert the open/close state"
}
},
@ -71,7 +71,7 @@
"description": "{zone} options",
"data": {
"type": "Sensor Type",
"name": "Name (optional)",
"name": "[%key:common::config_flow::data::name%] (optional)",
"poll_interval": "Poll Interval (minutes) (optional)"
}
},
@ -79,7 +79,7 @@
"title": "Configure Switchable Output",
"description": "{zone} options: state {state}",
"data": {
"name": "Name (optional)",
"name": "[%key:common::config_flow::data::name%] (optional)",
"activation": "Output when on",
"momentary": "Pulse duration (ms) (optional)",
"pause": "Pause between pulses (ms) (optional)",