mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Revert accidental change to Google
This commit is contained in:
@ -267,6 +267,11 @@ async def async_migrate_integration(hass: HomeAssistant) -> None:
|
|||||||
add_config_entry_id=parent_entry.entry_id,
|
add_config_entry_id=parent_entry.entry_id,
|
||||||
)
|
)
|
||||||
if parent_entry.entry_id != entry.entry_id:
|
if parent_entry.entry_id != entry.entry_id:
|
||||||
|
device_registry.async_update_device(
|
||||||
|
device.id,
|
||||||
|
add_config_subentry_id=subentry.subentry_id,
|
||||||
|
add_config_entry_id=parent_entry.entry_id,
|
||||||
|
)
|
||||||
device_registry.async_update_device(
|
device_registry.async_update_device(
|
||||||
device.id,
|
device.id,
|
||||||
remove_config_entry_id=entry.entry_id,
|
remove_config_entry_id=entry.entry_id,
|
||||||
|
Reference in New Issue
Block a user