mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 14:08:21 +00:00
Use literal string interpolation in integrations B-D (f-strings) (#26378)
This commit is contained in:
committed by
Pascal Vizeli
parent
105461edb5
commit
6a24d893c8
@@ -63,7 +63,7 @@ class BloomSky:
|
||||
"""Use the API to retrieve a list of devices."""
|
||||
_LOGGER.debug("Fetching BloomSky update")
|
||||
response = requests.get(
|
||||
"{}?{}".format(self.API_URL, self._endpoint_argument),
|
||||
f"{self.API_URL}?{self._endpoint_argument}",
|
||||
headers={AUTHORIZATION: self._api_key},
|
||||
timeout=10,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user