Use literal string interpolation in integrations H-J (f-strings) (#26380)
This commit is contained in:
parent
13bb2ea35a
commit
f9edec19ad
59 changed files with 128 additions and 139 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue