1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-04 14:44:35 +01:00
Files
core/homeassistant/components/mobile_app
J. Nick Koston fed1cab847 Fix mobile app dispatcher performance (#99647)
Fix mobile app thundering heard

The mobile_app would setup a dispatcher to listener for updates on
every entity and reject the ones that were not for the unique id
that it was intrested in.

Instead we now register for a signal per unique id since we were
previously generating O(entities*sensors*devices) callbacks which
was causing the event loop to stall when there were a large
number of mobile app users.
2023-09-04 20:56:34 -04:00
..