Skip to content

Commit

Permalink
Correct order of lat/lon for suntimes
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Nov 3, 2023
1 parent 4cc6bd9 commit d502eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/dwd_weather/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
)

Expand Down
2 changes: 1 addition & 1 deletion 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.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",
Expand Down

0 comments on commit d502eb5

Please sign in to comment.