mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Fix implicit-return in meteo_france (#122910)
This commit is contained in:
parent
8b1a527602
commit
c4398efbbb
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user