From 94c1b9a43445c92e914ac42e342096bcd0023ecf Mon Sep 17 00:00:00 2001 From: G Johansson Date: Mon, 30 Dec 2024 23:15:54 +0100 Subject: [PATCH] Use typed config entry everywhere in Trafikverket Weatherstation (#134308) --- .../components/trafikverket_weatherstation/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/trafikverket_weatherstation/__init__.py b/homeassistant/components/trafikverket_weatherstation/__init__.py index 1bd7fc69ae4..e17dacfdace 100644 --- a/homeassistant/components/trafikverket_weatherstation/__init__.py +++ b/homeassistant/components/trafikverket_weatherstation/__init__.py @@ -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)