Google Sheets: small cleanup (#83685)

* Remove duplicate object key in strings.json

* Remove async_entry_has_scopes check

This is not needed. This was copied from google calendar integration
where it was needed to reauth when the scope changed.

* Remove unused constant in application_credentials

* Move constant to the file used

* fix warning use-implicit-booleaness-not-len

* Remove not accessed parameters

* Revert "Remove async_entry_has_scopes check"

This reverts commit 63e24f84cc.
This commit is contained in:
tronikos 2022-12-09 20:57:40 -08:00 committed by GitHub
parent e53758c1bb
commit 2cfdae0c45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 16 deletions

View file

@ -1,10 +1,7 @@
"""Constants for Google Sheets integration."""
from __future__ import annotations
from typing import Final
DOMAIN = "google_sheets"
DATA_CONFIG_ENTRY: Final = "config_entry"
DEFAULT_NAME = "Google Sheets"
DEFAULT_ACCESS = "https://www.googleapis.com/auth/drive.file"