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