diff --git a/custom_components/dwd_weather/connector.py b/custom_components/dwd_weather/connector.py index 73bcb88..b94cccb 100644 --- a/custom_components/dwd_weather/connector.py +++ b/custom_components/dwd_weather/connector.py @@ -14,6 +14,7 @@ ATTR_FORECAST_TIME, ATTR_FORECAST_WIND_BEARING, ATTR_FORECAST_NATIVE_WIND_SPEED, + ATTR_WEATHER_WIND_GUST_SPEED, WeatherEntityFeature, Forecast, ) @@ -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, diff --git a/custom_components/dwd_weather/manifest.json b/custom_components/dwd_weather/manifest.json index 5dde839..7c1c383 100644 --- a/custom_components/dwd_weather/manifest.json +++ b/custom_components/dwd_weather/manifest.json @@ -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", @@ -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" }