429 files
This commit is contained in:
1 parent
472c19bceb
commit
963cce81a7
566 files changed
+50311
-47616
No files matched your search
@@ -7,9 +7,7 @@ from typing import TYPE_CHECKING
|
||||
from homeassistant.const import CONF_ENTITY_ID
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers import entity_registry as er
|
||||
from homeassistant.helpers.helper_integration import (
|
||||
async_remove_helper_config_entry_from_source_device,
|
||||
)
|
||||
from homeassistant.helpers.helper_integration import async_remove_helper_devices
|
||||
|
||||
from .config_flow import SpookInverseConfigFlowHandler
|
||||
from .const import CONF_HIDE_SOURCE
|
||||
@@ -88,7 +86,7 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
|
||||
)
|
||||
):
|
||||
# Remove the spook_inverse config entry from the source device
|
||||
async_remove_helper_config_entry_from_source_device(
|
||||
async_remove_helper_devices(
|
||||
hass,
|
||||
helper_config_entry_id=config_entry.entry_id,
|
||||
source_device_id=source_device_id,
|
||||
|
||||
Reference in new issue
Block a user