mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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"]
|
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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user