Is there a way for a custom integration to know when a ZHA pairing window is open, and when a device joins or is re-paired?
What I have ruled out on HA 2026.8.3 with zha 2.1.0:
- Add Device in the ZHA panel uses the
zha/devices/permitwebsocket command, not thezha.permitservice, so nothing appears on the event bus. zha_eventfiresdevice_offlinerepeatedly while an existing device is being re-paired, but nothing at all when a new device joins.- zigpy does not seem to keep any state for an open window.
The zha_gateway_message dispatcher signal looks like it carries device_joined and device_fully_initialized, but I would rather not depend on it if there is something better, or if it is likely to change.
Is there a supported hook, or is this genuinely not exposed?