mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-02 08:54:31 +02:00
added option to manually remove devices #198
This commit is contained in:
parent
bc127cd16e
commit
9da682b314
1 changed files with 8 additions and 0 deletions
|
@ -77,3 +77,11 @@ async def async_unload_entry(hass, config_entry) -> bool:
|
|||
hass.data[DOMAIN].pop(config_entry.entry_id)
|
||||
|
||||
return unload_ok
|
||||
|
||||
|
||||
# ---------------------------
|
||||
# async_remove_config_entry_device
|
||||
# ---------------------------
|
||||
async def async_remove_config_entry_device(hass, config_entry, device_entry) -> bool:
|
||||
"""Remove a config entry from a device."""
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue