diff --git a/homeassistant/components/xbox/__init__.py b/homeassistant/components/xbox/__init__.py index 2a294666640f..0112b68f13b3 100644 --- a/homeassistant/components/xbox/__init__.py +++ b/homeassistant/components/xbox/__init__.py @@ -165,9 +165,8 @@ async def async_migrate_entry(hass: HomeAssistant, entry: XboxConfigEntry) -> bo ): dev_reg.async_update_device( device.id, - remove_config_entry_id=entry.entry_id, - add_config_subentry_id=subentry.subentry_id, - add_config_entry_id=entry.entry_id, + new_config_entry_id=entry.entry_id, + new_config_subentry_id=subentry.subentry_id, ) if device := dev_reg.async_get_device_by_identifier( (DOMAIN, "xbox_live"), entry.entry_id