mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Add common data_description
This commit is contained in:
parent
a8f8681844
commit
877b796a98
@ -214,6 +214,9 @@ class EcovacsConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
data_schema=self.add_suggested_values_to_schema(
|
data_schema=self.add_suggested_values_to_schema(
|
||||||
data_schema=vol.Schema(schema), suggested_values=user_input
|
data_schema=vol.Schema(schema), suggested_values=user_input
|
||||||
),
|
),
|
||||||
|
description_placeholders={
|
||||||
|
"account_name": "Ecovacs",
|
||||||
|
},
|
||||||
errors=errors,
|
errors=errors,
|
||||||
last_step=True,
|
last_step=True,
|
||||||
)
|
)
|
||||||
|
@ -22,9 +22,11 @@
|
|||||||
"verify_mqtt_certificate": "Verify MQTT SSL certificate"
|
"verify_mqtt_certificate": "Verify MQTT SSL certificate"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"country": "Select the country where your Ecovacs account is registered.",
|
"country": "The country of your {account_name} account.",
|
||||||
"override_rest_url": "Enter the REST URL of your self-hosted instance including the scheme (http/https).",
|
"override_rest_url": "Enter the REST URL of your self-hosted instance including the scheme (http/https).",
|
||||||
"override_mqtt_url": "Enter the MQTT URL of your self-hosted instance including the scheme (mqtt/mqtts).",
|
"override_mqtt_url": "Enter the MQTT URL of your self-hosted instance including the scheme (mqtt/mqtts).",
|
||||||
|
"password": "[%key:common::config_flow::data_description::password%]",
|
||||||
|
"username": "[%key:common::config_flow::data_description::username%]",
|
||||||
"verify_mqtt_certificate": "Should SSL certificartes be verified? Uncheck this checkbox only if you are using a self-signed certificate."
|
"verify_mqtt_certificate": "Should SSL certificartes be verified? Uncheck this checkbox only if you are using a self-signed certificate."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -108,6 +108,10 @@
|
|||||||
"path": "Path",
|
"path": "Path",
|
||||||
"language": "Language"
|
"language": "Language"
|
||||||
},
|
},
|
||||||
|
"data_description": {
|
||||||
|
"username": "The username of your {account_name} account.",
|
||||||
|
"password": "The password of your {account_name} account."
|
||||||
|
},
|
||||||
"create_entry": {
|
"create_entry": {
|
||||||
"authenticated": "Successfully authenticated"
|
"authenticated": "Successfully authenticated"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user