diff --git a/custom_components/dwd_weather/connector.py b/custom_components/dwd_weather/connector.py index 8b5b51f..73bcb88 100644 --- a/custom_components/dwd_weather/connector.py +++ b/custom_components/dwd_weather/connector.py @@ -53,8 +53,8 @@ def __init__(self, hass, config_entry: ConfigEntry): # Holds the current data from DWD self.dwd_weather = dwdforecast.Weather(self._config[CONF_STATION_ID]) self.sun = SunTimes( - self.dwd_weather.station["lat"], self.dwd_weather.station["lon"], + self.dwd_weather.station["lat"], int(self.dwd_weather.station["elev"]), ) diff --git a/custom_components/dwd_weather/manifest.json b/custom_components/dwd_weather/manifest.json index b750fef..5dde839 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.11", + "version": "2.0.12", "name": "Deutscher Wetterdienst (DWD)", "documentation": "https://github.com/FL550/dwd_weather", "issue_tracker": "https://github.com/FL550/dwd_weather/issues",