mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Fix implicit-return in meteo_france (#122910)
This commit is contained in:
@@ -165,6 +165,7 @@ class MeteoFranceWeather(
|
|||||||
wind_bearing = self.coordinator.data.current_forecast["wind"]["direction"]
|
wind_bearing = self.coordinator.data.current_forecast["wind"]["direction"]
|
||||||
if wind_bearing != -1:
|
if wind_bearing != -1:
|
||||||
return wind_bearing
|
return wind_bearing
|
||||||
|
return None
|
||||||
|
|
||||||
def _forecast(self, mode: str) -> list[Forecast]:
|
def _forecast(self, mode: str) -> list[Forecast]:
|
||||||
"""Return the forecast."""
|
"""Return the forecast."""
|
||||||
|
Reference in New Issue
Block a user