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:
parent
e53758c1bb
commit
2cfdae0c45
5 changed files with 3 additions and 16 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue