Use literal string interpolation in integrations T-W (f-strings) (#26394)
This commit is contained in:
1 parent
cde09062c4
commit
ef0e9431b6
50 files changed
+128
-132
No files matched your search
@@ -238,7 +238,7 @@ class UniFiClientTracker(ScannerEntity):
|
||||
@property
|
||||
def unique_id(self) -> str:
|
||||
"""Return a unique identifier for this client."""
|
||||
return "{}-{}".format(self.client.mac, self.controller.site)
|
||||
return f"{self.client.mac}-{self.controller.site}"
|
||||
|
||||
@property
|
||||
def available(self) -> bool:
|
||||
|
||||
Reference in new issue
Block a user