diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index 7594061a997f..de9f0b6b14e0 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -579,8 +579,8 @@ class SonosDiscoveryManager: def is_device_disabled(self, uid: str) -> bool: """Check if the Sonos device is disabled in the device registry.""" if not ( - device := dr.async_get(self.hass).async_get_device( - identifiers={(DOMAIN, uid)} + device := dr.async_get(self.hass).async_get_device_by_identifier( + (DOMAIN, uid), self.entry.entry_id ) ): return False