diff options
| author | Luke Hoersten <[email protected]> | 2026-06-21 13:17:31 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-21 13:17:31 -0500 |
| commit | 3a7ddbdf418af1b83369e93b814cff6d91db6412 (patch) | |
| tree | dd858c10fef82fd96ebff2505bc2b860bbb0d510 /main/mdns_service.h | |
| parent | 7d2b647e9204993256e1c345674b4b8c0b524a4a (diff) | |
scrypted: fix listen() — one call per interface (was passing array, filter broken)
ScryptedDevice.listen() takes a single ScryptedInterface | string |
EventListenerOptions, not an array. We were passing
[BinarySensor, MotionSensor, ObjectDetector] which stringifies to a
comma-joined garbage filter, leaking unrelated events (Settings, ...)
through and apparently dropping BinarySensor entirely — bell rings
never surfaced. Also drops the child-device traversal: confirmed via
unifi-protect/src/main.ts that the bell BinarySensor lives on the
camera device itself for doorbells.
Diffstat (limited to 'main/mdns_service.h')
0 files changed, 0 insertions, 0 deletions
