I use Homebridge v2 to show my Hubitat Safety Monitor (HSM) in Apple HomeKit.
I have a delay configured in HSM for 20 seconds so if the front door opens when the system is set to armed away an intrusion isn’t triggered, however during this delay period HomeKit still triggers a security alert:
I resolved this through modifying the App Code for Homebridge v2 (looks like the app is no longer being updated by the original author).
Around line 1851 where the 'hsmAlert' cases are being evaluated I added a case that explicitly looks for the string 'intrusion-delay' as the original code was simply looking for anything prefixed with 'intrusion' which would include the delay string:
I have the same issue with the Homebridge v2 and the countdown triggering a critical alert in HomeKit. I edited the app code with your change, but it still seems to trigger the critical alert in homekit. Any further ideas to make this work? I only tried it in "home" mode (not away nor night mode). Thanks!