Remove deprecated forecast attribute from WeatherEntity (#110761)
* Remove deprecated forecast attribute from WeatherEntity * Fix some * Ruff * ipma * buienradar * some more * Some more * More and more * strings * attr_forecast * Fix nws * Fix * remove from coverage * Remove recorder test * Review comments
This commit is contained in:
parent
1269031d11
commit
65230908c6
31 changed files with 37 additions and 1596 deletions
|
@ -299,11 +299,6 @@ class NWSWeather(CoordinatorWeatherEntity):
|
|||
forecast.append(data)
|
||||
return forecast
|
||||
|
||||
@property
|
||||
def forecast(self) -> list[Forecast] | None:
|
||||
"""Return forecast."""
|
||||
return self._forecast(self._forecast_legacy, DAYNIGHT)
|
||||
|
||||
@callback
|
||||
def _async_forecast_hourly(self) -> list[Forecast] | None:
|
||||
"""Return the hourly forecast in native units."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue