Use literal string interpolation in integrations H-J (f-strings) (#26380)
This commit is contained in:
1 parent
13bb2ea35a
commit
f9edec19ad
59 files changed
+128
-139
No files matched your search
@@ -1,9 +1,9 @@
|
||||
"""Constants for the homekit_controller component."""
|
||||
DOMAIN = "homekit_controller"
|
||||
|
||||
KNOWN_DEVICES = "{}-devices".format(DOMAIN)
|
||||
CONTROLLER = "{}-controller".format(DOMAIN)
|
||||
ENTITY_MAP = "{}-entity-map".format(DOMAIN)
|
||||
KNOWN_DEVICES = f"{DOMAIN}-devices"
|
||||
CONTROLLER = f"{DOMAIN}-controller"
|
||||
ENTITY_MAP = f"{DOMAIN}-entity-map"
|
||||
|
||||
HOMEKIT_DIR = ".homekit"
|
||||
PAIRING_FILE = "pairing.json"
|
||||
|
||||
Reference in new issue
Block a user