Use typed config entry everywhere in Trafikverket Weatherstation (#134308)
parent
275c15e2ae
commit
94c1b9a434
|
@ -22,6 +22,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: TVWeatherConfigEntry) ->
|
|||
return True
|
||||
|
||||
|
||||
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
async def async_unload_entry(hass: HomeAssistant, entry: TVWeatherConfigEntry) -> bool:
|
||||
"""Unload Trafikverket Weatherstation config entry."""
|
||||
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|
||||
|
|
Loading…
Reference in New Issue