mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix blocking I/O in the event loop in meteo_france (#118429)
This commit is contained in:
parent
ab9581c617
commit
f957ba09de
@ -200,7 +200,7 @@ class MeteoFranceWeather(
|
|||||||
break
|
break
|
||||||
forecast_data.append(
|
forecast_data.append(
|
||||||
{
|
{
|
||||||
ATTR_FORECAST_TIME: self.coordinator.data.timestamp_to_locale_time(
|
ATTR_FORECAST_TIME: dt_util.utc_from_timestamp(
|
||||||
forecast["dt"]
|
forecast["dt"]
|
||||||
).isoformat(),
|
).isoformat(),
|
||||||
ATTR_FORECAST_CONDITION: format_condition(
|
ATTR_FORECAST_CONDITION: format_condition(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user