Skip to content

Commit

Permalink
Removes night-icon for daily forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Sep 3, 2024
1 parent 633b88d commit 2f47eec
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions custom_components/dwd_weather/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,6 @@ def get_forecast_daily(self) -> list[Forecast] | None:
timestep,
False,
)
if condition == "sunny" and (
timestep.hour < self.sun.riseutc(timestep).hour # type: ignore
or timestep.hour > self.sun.setutc(timestep).hour # type: ignore
):
condition = "clear-night"
temp_max = self.dwd_weather.get_daily_max(
WeatherDataType.TEMPERATURE,
timestep,
Expand Down

0 comments on commit 2f47eec

Please sign in to comment.