Skip to content

Commit

Permalink
Fulfill IQS rule config-flow in ViCare integration (#133524)
Browse files Browse the repository at this point in the history
* add data_description

* Apply suggestions from code review

Co-authored-by: Josef Zweck <[email protected]>

---------

Co-authored-by: Josef Zweck <[email protected]>
  • Loading branch information
CFenner and zweckj authored Dec 19, 2024
1 parent 69a8d3f commit cd384ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions homeassistant/components/vicare/quality_scale.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 10 additions & 0 deletions homeassistant/components/vicare/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@
"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": {
"description": "Please verify credentials.",
"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%]"
}
}
},
Expand Down

0 comments on commit cd384ca

Please sign in to comment.