Use literal string interpolation in integrations R-S (f-strings) (#26392)
This commit is contained in:
1 parent
7203027cbf
commit
445c741b30
69 files changed
+129
-149
No files matched your search
@@ -34,7 +34,7 @@ class SkyHubDeviceScanner(DeviceScanner):
|
||||
_LOGGER.info("Initialising Sky Hub")
|
||||
self.host = config.get(CONF_HOST, "192.168.1.254")
|
||||
self.last_results = {}
|
||||
self.url = "http://{}/".format(self.host)
|
||||
self.url = f"http://{self.host}/"
|
||||
|
||||
# Test the router is accessible
|
||||
data = _get_skyhub_data(self.url)
|
||||
|
||||
Reference in new issue
Block a user