implement reload service
This commit is contained in:
parent
99ca6d9d0d
commit
536feac30a
@ -67,3 +67,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
)
|
)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
|
"""Unload a config entry."""
|
||||||
|
return await hass.config_entries.async_forward_entry_unload(
|
||||||
|
entry, "switch"
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user