Use literal string interpolation in integrations T-W (f-strings) (#26394)

This commit is contained in:
Franck Nijhof authored and Pascal Vizeli committed 2019-09-03 21:12:51 +02:00
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: