Fix blocking I/O in the event loop in meteo_france (#118429)
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…
Reference in New Issue