From c4398efbbb90b2620186b27a06a0990773fc8086 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:40:30 +0200 Subject: [PATCH] Fix implicit-return in meteo_france (#122910) --- homeassistant/components/meteo_france/weather.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/meteo_france/weather.py b/homeassistant/components/meteo_france/weather.py index 943d30fccfd..8305547afd3 100644 --- a/homeassistant/components/meteo_france/weather.py +++ b/homeassistant/components/meteo_france/weather.py @@ -165,6 +165,7 @@ class MeteoFranceWeather( wind_bearing = self.coordinator.data.current_forecast["wind"]["direction"] if wind_bearing != -1: return wind_bearing + return None def _forecast(self, mode: str) -> list[Forecast]: """Return the forecast."""