mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix notion bridge id update device registry identifier usage (#44872)
This commit is contained in:
@@ -230,10 +230,10 @@ class NotionEntity(CoordinatorEntity):
|
||||
device_registry = await dr.async_get_registry(self.hass)
|
||||
bridge = self.coordinator.data["bridges"][self._bridge_id]
|
||||
bridge_device = device_registry.async_get_device(
|
||||
{DOMAIN: bridge["hardware_id"]}, set()
|
||||
{(DOMAIN, bridge["hardware_id"])}, set()
|
||||
)
|
||||
this_device = device_registry.async_get_device(
|
||||
{DOMAIN: sensor["hardware_id"]}, set()
|
||||
{(DOMAIN, sensor["hardware_id"])}, set()
|
||||
)
|
||||
|
||||
device_registry.async_update_device(
|
||||
|
Reference in New Issue
Block a user