diff --git a/custom_components/yandex_weather/weather.py b/custom_components/yandex_weather/weather.py index 83313b9..7d9b9ba 100644 --- a/custom_components/yandex_weather/weather.py +++ b/custom_components/yandex_weather/weather.py @@ -269,7 +269,7 @@ def __forecast_twice_daily(self) -> list[Forecast] | None: native_pressure=self.native_pressure, native_wind_speed=self.native_wind_speed, condition=self.condition, - # is_daytime=self.is_daytime, + is_daytime=self.coordinator.data.get("daytime") == "d", ), ) return result