mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 19:48:23 +00:00
Removed obsolete reload function
This commit is contained in:
parent
7b2641d136
commit
2a96ea0418
@ -50,13 +50,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: FederwiegeConfigEntry)
|
|||||||
)
|
)
|
||||||
|
|
||||||
if unload_ok:
|
if unload_ok:
|
||||||
federwiege = entry.runtime_data
|
federwiege: Federwiege = entry.runtime_data
|
||||||
federwiege.disconnect()
|
federwiege.disconnect()
|
||||||
|
|
||||||
return unload_ok
|
return unload_ok
|
||||||
|
|
||||||
|
|
||||||
async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None:
|
|
||||||
"""Reload config entry."""
|
|
||||||
await async_unload_entry(hass, entry)
|
|
||||||
await async_setup_entry(hass, entry)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user