Fulfill IQS rule config-flow in ViCare integration (#133524)
* add data_description * Apply suggestions from code review Co-authored-by: Josef Zweck <josef@zweck.dev> --------- Co-authored-by: Josef Zweck <josef@zweck.dev>pull/133557/head^2
parent
69a8d3f3c1
commit
cd384cadbe
|
@ -1,8 +1,6 @@
|
|||
rules:
|
||||
# Bronze
|
||||
config-flow:
|
||||
status: todo
|
||||
comment: data_description is missing.
|
||||
config-flow: done
|
||||
test-before-configure: done
|
||||
unique-config-entry:
|
||||
status: todo
|
||||
|
|
|
@ -9,6 +9,12 @@
|
|||
"password": "[%key:common::config_flow::data::password%]",
|
||||
"client_id": "Client ID",
|
||||
"heating_type": "Heating type"
|
||||
},
|
||||
"data_description": {
|
||||
"username": "The email address to login to your ViCare account.",
|
||||
"password": "The password to login to your ViCare account.",
|
||||
"client_id": "The ID of the API client created in the Viessmann developer portal.",
|
||||
"heating_type": "Allows to overrule the device auto detection."
|
||||
}
|
||||
},
|
||||
"reauth_confirm": {
|
||||
|
@ -16,6 +22,10 @@
|
|||
"data": {
|
||||
"password": "[%key:common::config_flow::data::password%]",
|
||||
"client_id": "[%key:component::vicare::config::step::user::data::client_id%]"
|
||||
},
|
||||
"data_description": {
|
||||
"password": "[%key:component::vicare::config::step::user::data_description::password%]",
|
||||
"client_id": "[%key:component::vicare::config::step::user::data_description::client_id%]"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue