Skip to content

Commit

Permalink
Corrects wind_gusts key
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Nov 5, 2023
1 parent d502eb5 commit 3057b8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion custom_components/dwd_weather/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
ATTR_FORECAST_TIME,
ATTR_FORECAST_WIND_BEARING,
ATTR_FORECAST_NATIVE_WIND_SPEED,
ATTR_WEATHER_WIND_GUST_SPEED,
WeatherEntityFeature,
Forecast,
)
Expand Down Expand Up @@ -206,7 +207,7 @@ def get_forecast(self, WeatherEntityFeature_FORECAST) -> list[Forecast] | None:
weather_interval,
False,
),
"wind_gusts": self.dwd_weather.get_timeframe_max(
ATTR_WEATHER_WIND_GUST_SPEED: self.dwd_weather.get_timeframe_max(
WeatherDataType.WIND_GUSTS,
timestep,
weather_interval,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/dwd_weather/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"domain": "dwd_weather",
"version": "2.0.12",
"version": "2.0.13",
"name": "Deutscher Wetterdienst (DWD)",
"documentation": "https://github.com/FL550/dwd_weather",
"issue_tracker": "https://github.com/FL550/dwd_weather/issues",
Expand All @@ -9,6 +9,6 @@
"codeowners": [
"@FL550"
],
"requirements": ["simple_dwd_weatherforecast==2.0.23","markdownify==0.6.5","suntimes==1.1.2"],
"requirements": ["simple_dwd_weatherforecast==2.0.24","markdownify==0.6.5","suntimes==1.1.2"],
"iot_class": "cloud_polling"
}

0 comments on commit 3057b8f

Please sign in to comment.