From 8e4b680389d90bc4133ffc8817be1a3ff98d1ed2 Mon Sep 17 00:00:00 2001 From: Boris Fersing <3963983+fersingb@users.noreply.github.com> Date: Fri, 30 Jan 2026 16:34:16 -0500 Subject: [PATCH] Don't call weather api twice --- pyhilo/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhilo/api.py b/pyhilo/api.py index 4e25858..739f58b 100755 --- a/pyhilo/api.py +++ b/pyhilo/api.py @@ -762,4 +762,4 @@ async def get_weather(self, location_id: int) -> dict[str, Any]: LOG.debug("Weather URL is %s", url) response = await self.async_request("get", url) LOG.debug("Weather API response: %s", response) - return cast(dict[str, Any], await self.async_request("get", url)) + return cast(dict[str, Any], response)