Skip to content

Commit c87e38c

Browse files
authored
Add Nest config flow data_description fields to fix quality scale item (home-assistant#156713)
1 parent 4874610 commit c87e38c

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

homeassistant/components/nest/quality_scale.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
rules:
22
# Bronze
3-
config-flow:
4-
status: todo
5-
comment: Some fields are missing a data_description
3+
config-flow: done
64
brands: done
75
dependency-transparency: done
86
common-modules:

homeassistant/components/nest/strings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
"data": {
3535
"cloud_project_id": "Google Cloud Project ID"
3636
},
37+
"data_description": {
38+
"cloud_project_id": "The Google Cloud Project ID which can be obtained from the Cloud Console"
39+
},
3740
"description": "Enter the Cloud Project ID below e.g. *example-project-12345*. See the [Google Cloud Console]({cloud_console_url}) or the documentation for [more info]({more_info_url}).",
3841
"title": "Nest: Enter Cloud Project ID"
3942
},
@@ -45,6 +48,9 @@
4548
"data": {
4649
"project_id": "Device Access Project ID"
4750
},
51+
"data_description": {
52+
"project_id": "The Device Access Project ID which can be obtained from the Device Access Console"
53+
},
4854
"description": "Create a Nest Device Access project which **requires paying Google a US $5 fee** to set up.\n1. Go to the [Device Access Console]({device_access_console_url}), and through the payment flow.\n1. Select on **Create project**\n1. Give your Device Access project a name and select **Next**.\n1. Enter your OAuth Client ID\n1. Skip enabling events for now and select **Create project**.\n\nEnter your Device Access Project ID below ([more info]({more_info_url})).",
4955
"title": "Nest: Create a Device Access Project"
5056
},
@@ -64,13 +70,19 @@
6470
"data": {
6571
"subscription_name": "Pub/Sub subscription name"
6672
},
73+
"data_description": {
74+
"subscription_name": "The Pub/Sub subscription name to receive Nest device updates"
75+
},
6776
"description": "Home Assistant receives realtime Nest device updates with a Cloud Pub/Sub subscription for topic `{topic}`.\n\nSelect an existing subscription below if one already exists, or the next step will create a new one for you. See the integration documentation for [more info]({more_info_url}).",
6877
"title": "Configure Cloud Pub/Sub subscription"
6978
},
7079
"pubsub_topic": {
7180
"data": {
7281
"topic_name": "Pub/Sub topic name"
7382
},
83+
"data_description": {
84+
"topic_name": "The Pub/Sub topic name configured in the Device Access Console"
85+
},
7486
"description": "Nest devices publish updates on a Cloud Pub/Sub topic. You can select an existing topic if one exists, or choose to create a new topic and the next step will create it for you with the necessary permissions. See the integration documentation for [more info]({more_info_url}).",
7587
"title": "Configure Cloud Pub/Sub topic"
7688
},

0 commit comments

Comments
 (0)