Add data_description to Bring! integration (#137513)
This commit is contained in:
parent
4deffb233d
commit
9ca8af0a00
|
@ -68,7 +68,13 @@ class BringConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
)
|
||||
|
||||
return self.async_show_form(
|
||||
step_id="user", data_schema=STEP_USER_DATA_SCHEMA, errors=errors
|
||||
step_id="user",
|
||||
data_schema=STEP_USER_DATA_SCHEMA,
|
||||
errors=errors,
|
||||
description_placeholders={
|
||||
"google_play": "https://play.google.com/store/apps/details?id=ch.publisheria.bring",
|
||||
"app_store": "https://itunes.apple.com/app/apple-store/id580669177",
|
||||
},
|
||||
)
|
||||
|
||||
async def async_step_reauth(
|
||||
|
|
|
@ -7,7 +7,7 @@ rules:
|
|||
brands: done
|
||||
common-modules: done
|
||||
config-flow-test-coverage: done
|
||||
config-flow: todo
|
||||
config-flow: done
|
||||
dependency-transparency: done
|
||||
docs-actions: done
|
||||
docs-high-level-description: todo
|
||||
|
|
|
@ -5,9 +5,15 @@
|
|||
"config": {
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Bring! Grocery shopping list",
|
||||
"description": "Connect your Bring! account to sync your shopping lists with Home Assistant.\n\nDon't have a Bring! account? Download the app on [Google Play for Android]({google_play}) or the [App Store for iOS]({app_store}) to sign up.",
|
||||
"data": {
|
||||
"email": "[%key:common::config_flow::data::email%]",
|
||||
"password": "[%key:common::config_flow::data::password%]"
|
||||
},
|
||||
"data_description": {
|
||||
"email": "The email address associated with your Bring! account.",
|
||||
"password": "The password to login to your Bring! account."
|
||||
}
|
||||
},
|
||||
"reauth_confirm": {
|
||||
|
@ -16,6 +22,10 @@
|
|||
"data": {
|
||||
"email": "[%key:common::config_flow::data::email%]",
|
||||
"password": "[%key:common::config_flow::data::password%]"
|
||||
},
|
||||
"data_description": {
|
||||
"email": "[%key:component::bring::config::step::user::data_description::email%]",
|
||||
"password": "[%key:component::bring::config::step::user::data_description::email%]"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue