mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix Climacell timezone issue with daily forecasts (#47402)
This commit is contained in:
parent
fa8ded5ad8
commit
74746125ce
@ -254,6 +254,7 @@ class ClimaCellWeatherEntity(ClimaCellEntity, WeatherEntity):
|
|||||||
|
|
||||||
if self.forecast_type == DAILY:
|
if self.forecast_type == DAILY:
|
||||||
use_datetime = False
|
use_datetime = False
|
||||||
|
forecast_dt = dt_util.start_of_local_day(forecast_dt)
|
||||||
precipitation = self._get_cc_value(
|
precipitation = self._get_cc_value(
|
||||||
forecast, CC_ATTR_PRECIPITATION_DAILY
|
forecast, CC_ATTR_PRECIPITATION_DAILY
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user