From 0bb514f46f7c9d56af4fcbd59d6a762d0256195d Mon Sep 17 00:00:00 2001 From: Christopher Fenner Date: Wed, 18 Dec 2024 21:26:48 +0100 Subject: [PATCH 1/2] add data_description --- homeassistant/components/vicare/quality_scale.yaml | 4 +--- homeassistant/components/vicare/strings.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/vicare/quality_scale.yaml b/homeassistant/components/vicare/quality_scale.yaml index 436e046204f60f..959e2e905837d9 100644 --- a/homeassistant/components/vicare/quality_scale.yaml +++ b/homeassistant/components/vicare/quality_scale.yaml @@ -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 diff --git a/homeassistant/components/vicare/strings.json b/homeassistant/components/vicare/strings.json index 77e570da7790c2..3494dce2c2de22 100644 --- a/homeassistant/components/vicare/strings.json +++ b/homeassistant/components/vicare/strings.json @@ -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": "Use 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%]" } } }, From 5196ec2199585024ae98c81f476b0373c94dd224 Mon Sep 17 00:00:00 2001 From: Christopher Fenner <9592452+CFenner@users.noreply.github.com> Date: Thu, 19 Dec 2024 09:30:54 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Josef Zweck --- homeassistant/components/vicare/strings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/vicare/strings.json b/homeassistant/components/vicare/strings.json index 3494dce2c2de22..4934507e41c7ff 100644 --- a/homeassistant/components/vicare/strings.json +++ b/homeassistant/components/vicare/strings.json @@ -14,7 +14,7 @@ "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": "Use to overrule the device auto detection." + "heating_type": "Allows to overrule the device auto detection." } }, "reauth_confirm": {