Version Bump for WeatherFlow Cloud Backing Lib (#114302)

Version bump to support stations going offline for some time
This commit is contained in:
Jeef 2024-03-27 09:24:18 -06:00 committed by GitHub
parent 6289082dab
commit fc596cde44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View File

@ -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:

View File

@ -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"]
}

View File

@ -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]

View File

@ -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

View File

@ -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