Use literal string interpolation in integrations E-G (f-strings) (#26379)
This commit is contained in:
1 parent
6a24d893c8
commit
fa79ef1220
45 files changed
+87
-92
No files matched your search
@@ -59,10 +59,10 @@ SERVICE_ADD_EVENT = "add_event"
|
||||
|
||||
DATA_INDEX = "google_calendars"
|
||||
|
||||
YAML_DEVICES = "{}_calendars.yaml".format(DOMAIN)
|
||||
YAML_DEVICES = f"{DOMAIN}_calendars.yaml"
|
||||
SCOPES = "https://www.googleapis.com/auth/calendar"
|
||||
|
||||
TOKEN_FILE = ".{}.token".format(DOMAIN)
|
||||
TOKEN_FILE = f".{DOMAIN}.token"
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user