Only subscribe to specific UniFi object ID (#84787)

This commit is contained in:
Robert Svensson 2022-12-29 21:51:16 +01:00 committed by GitHub
parent f51cf87361
commit 9f399a1bbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,7 @@ class UnifiEntity(Entity, Generic[HandlerT, DataT]):
self.async_on_remove(
handler.subscribe(
self.async_signalling_callback,
id_filter=self._obj_id,
)
)