Hopefully fixes Device slow / crashes when renaming a device #341
Avoids multiple sequential calls to updates on scanners and private ble devices, instead filters DR event to work out type of change. Hopefully reduces the changes of getting into race conditions from multiple async updates.
Switch to async_refresh on state change, as first_refresh likely to cause issues.
Moved to single device_registry, entity registry in coordinator.
Fix crash in 2024.11 when async_config_entry_first_refresh called while entry not fully loaded.
Clean up handler for device registry changes