diff --git a/homeassistant/components/weatherflow_cloud/coordinator.py b/homeassistant/components/weatherflow_cloud/coordinator.py index 600a5e105c9..78b4f3be223 100644 --- a/homeassistant/components/weatherflow_cloud/coordinator.py +++ b/homeassistant/components/weatherflow_cloud/coordinator.py @@ -4,7 +4,7 @@ from datetime import timedelta from aiohttp import ClientResponseError from weatherflow4py.api import WeatherFlowRestAPI -from weatherflow4py.models.rest.unified import WeatherFlowData +from weatherflow4py.models.rest.unified import WeatherFlowDataREST from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed @@ -14,7 +14,7 @@ from .const import DOMAIN, LOGGER class WeatherFlowCloudDataUpdateCoordinator( - DataUpdateCoordinator[dict[int, WeatherFlowData]] + DataUpdateCoordinator[dict[int, WeatherFlowDataREST]] ): """Class to manage fetching REST Based WeatherFlow Forecast data.""" @@ -29,7 +29,7 @@ class WeatherFlowCloudDataUpdateCoordinator( update_interval=timedelta(minutes=15), ) - async def _async_update_data(self) -> dict[int, WeatherFlowData]: + async def _async_update_data(self) -> dict[int, WeatherFlowDataREST]: """Fetch data from WeatherFlow Forecast.""" try: async with self.weather_api: diff --git a/homeassistant/components/weatherflow_cloud/manifest.json b/homeassistant/components/weatherflow_cloud/manifest.json index ec5bd0ffd8a..8376bd1b50d 100644 --- a/homeassistant/components/weatherflow_cloud/manifest.json +++ b/homeassistant/components/weatherflow_cloud/manifest.json @@ -5,5 +5,5 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/weatherflow_cloud", "iot_class": "cloud_polling", - "requirements": ["weatherflow4py==0.2.13"] + "requirements": ["weatherflow4py==0.2.17"] } diff --git a/homeassistant/components/weatherflow_cloud/weather.py b/homeassistant/components/weatherflow_cloud/weather.py index 8d40fab52cb..23aa6b1a031 100644 --- a/homeassistant/components/weatherflow_cloud/weather.py +++ b/homeassistant/components/weatherflow_cloud/weather.py @@ -2,7 +2,7 @@ from __future__ import annotations -from weatherflow4py.models.rest.unified import WeatherFlowData +from weatherflow4py.models.rest.unified import WeatherFlowDataREST from homeassistant.components.weather import ( Forecast, @@ -79,7 +79,7 @@ class WeatherFlowWeather( ) @property - def local_data(self) -> WeatherFlowData: + def local_data(self) -> WeatherFlowDataREST: """Return the local weather data object for this station.""" return self.coordinator.data[self.station_id] diff --git a/requirements_all.txt b/requirements_all.txt index 8284e9ea81b..0ab9ed75e09 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2838,7 +2838,7 @@ watchdog==2.3.1 waterfurnace==1.1.0 # homeassistant.components.weatherflow_cloud -weatherflow4py==0.2.13 +weatherflow4py==0.2.17 # homeassistant.components.webmin webmin-xmlrpc==0.0.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 47dc312e903..86242be4db4 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -2185,7 +2185,7 @@ wallbox==0.6.0 watchdog==2.3.1 # homeassistant.components.weatherflow_cloud -weatherflow4py==0.2.13 +weatherflow4py==0.2.17 # homeassistant.components.webmin webmin-xmlrpc==0.0.2