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>
This commit is contained in:
Christopher Fenner 2024-12-19 10:04:26 +01:00 committed by GitHub
parent 69a8d3f3c1
commit cd384cadbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,6 @@
rules: rules:
# Bronze # Bronze
config-flow: config-flow: done
status: todo
comment: data_description is missing.
test-before-configure: done test-before-configure: done
unique-config-entry: unique-config-entry:
status: todo status: todo

View File

@ -9,6 +9,12 @@
"password": "[%key:common::config_flow::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"client_id": "Client ID", "client_id": "Client ID",
"heating_type": "Heating type" "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": { "reauth_confirm": {
@ -16,6 +22,10 @@
"data": { "data": {
"password": "[%key:common::config_flow::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"client_id": "[%key:component::vicare::config::step::user::data::client_id%]" "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%]"
} }
} }
}, },