Fix blocking I/O in the event loop in meteo_france (#118429)

pull/118441/head
J. Nick Koston 2024-05-29 11:37:24 -10:00 committed by GitHub
parent ab9581c617
commit f957ba09de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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(