mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Use typed config entry everywhere in Trafikverket Ferry (#134300)
This commit is contained in:
parent
f2e856b8a2
commit
9cdbcd93cd
@ -22,6 +22,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: TVFerryConfigEntry) -> b
|
|||||||
return True
|
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."""
|
"""Unload Trafikverket Ferry config entry."""
|
||||||
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user