Use typed config entry everywhere in Trafikverket Ferry (#134300)

This commit is contained in:
G Johansson 2024-12-30 22:48:33 +01:00 committed by GitHub
parent f2e856b8a2
commit 9cdbcd93cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: TVFerryConfigEntry) -> b
return True
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
async def async_unload_entry(hass: HomeAssistant, entry: TVFerryConfigEntry) -> bool:
"""Unload Trafikverket Ferry config entry."""
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)