From 82bab545df3d18afe8e561652790e80857bd2be5 Mon Sep 17 00:00:00 2001 From: Robert Hillis Date: Sun, 25 Sep 2022 22:12:07 -0400 Subject: [PATCH] Add missing doc strings and requirements in Google Sheets (#78616) --- CODEOWNERS | 1 + homeassistant/components/google_sheets/strings.json | 4 ++++ homeassistant/components/google_sheets/translations/en.json | 4 ++++ requirements_test_all.txt | 3 +++ tests/components/google_sheets/__init__.py | 1 + 5 files changed, 13 insertions(+) create mode 100644 tests/components/google_sheets/__init__.py diff --git a/CODEOWNERS b/CODEOWNERS index 101c40370ef..50d62976dfb 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -420,6 +420,7 @@ build.json @home-assistant/supervisor /tests/components/google_assistant/ @home-assistant/cloud /homeassistant/components/google_cloud/ @lufton /homeassistant/components/google_sheets/ @tkdrob +/tests/components/google_sheets/ @tkdrob /homeassistant/components/google_travel_time/ @eifinger /tests/components/google_travel_time/ @eifinger /homeassistant/components/govee_ble/ @bdraco diff --git a/homeassistant/components/google_sheets/strings.json b/homeassistant/components/google_sheets/strings.json index 858f6856954..2170f6e4c1d 100644 --- a/homeassistant/components/google_sheets/strings.json +++ b/homeassistant/components/google_sheets/strings.json @@ -4,6 +4,10 @@ "pick_implementation": { "title": "[%key:common::config_flow::title::oauth2_pick_implementation%]" }, + "reauth_confirm": { + "title": "[%key:common::config_flow::title::reauth%]", + "description": "The Google Sheets integration needs to re-authenticate your account" + }, "auth": { "title": "Link Google Account" } diff --git a/homeassistant/components/google_sheets/translations/en.json b/homeassistant/components/google_sheets/translations/en.json index c7348a0fa40..fff3cb88d68 100644 --- a/homeassistant/components/google_sheets/translations/en.json +++ b/homeassistant/components/google_sheets/translations/en.json @@ -25,6 +25,10 @@ }, "pick_implementation": { "title": "Pick Authentication Method" + }, + "reauth_confirm": { + "description": "The Google Sheets integration needs to re-authenticate your account", + "title": "Reauthenticate Integration" } } } diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6a2182faf87..0b5586e63d9 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -595,6 +595,9 @@ gridnet==4.0.0 # homeassistant.components.growatt_server growattServer==1.2.2 +# homeassistant.components.google_sheets +gspread==5.5.0 + # homeassistant.components.profiler guppy3==3.1.2 diff --git a/tests/components/google_sheets/__init__.py b/tests/components/google_sheets/__init__.py new file mode 100644 index 00000000000..dd9d801f239 --- /dev/null +++ b/tests/components/google_sheets/__init__.py @@ -0,0 +1 @@ +"""Tests for the Google Sheets integration."""