From 74746125ce03e24acd541b9582086d6a8b6024a9 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Thu, 4 Mar 2021 16:21:56 -0500 Subject: [PATCH] Fix Climacell timezone issue with daily forecasts (#47402) --- homeassistant/components/climacell/weather.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/climacell/weather.py b/homeassistant/components/climacell/weather.py index 1f0fe76cff6..e5a24197d6b 100644 --- a/homeassistant/components/climacell/weather.py +++ b/homeassistant/components/climacell/weather.py @@ -254,6 +254,7 @@ class ClimaCellWeatherEntity(ClimaCellEntity, WeatherEntity): if self.forecast_type == DAILY: use_datetime = False + forecast_dt = dt_util.start_of_local_day(forecast_dt) precipitation = self._get_cc_value( forecast, CC_ATTR_PRECIPITATION_DAILY )