Trigger when Armed not working

I am working on a scene to notify me of which zone tripped the alarm. I have various triggers setup for the zones. For instance, one trigger is “Kitchen Door is tripped”. Kitchen Door is device 56. It also has luup code to "gAlarmDevID = “56” for the trigger. The luup code for the scene looks up the name of the zone that tripped based on gAlarmDevID. This all works fine when the alarm is disarmed, but when armed, the trigger does not fire. I have a Vista 20P / Safewatch Pro 3000en panel.

Here’s my scene luup

[code]
local vDevName = “”
if gAlarmDevID == “0” then – “0” is the default in startup lua
vDevName = vDevName…“\n”…" unknown sensor or zone"
else
local vDevID = tonumber(gAlarmDevID)
vDevName = vDevName…“\n”…luup.devices[vDevID].description
end

luup.call_action(“urn:upnp-org:serviceId:IOSPush1”, “SendProwlNotification”, {Event=“Alarm Panel”, Description=vDevName, Priority=2, URL=“”}, 378)

gAlarmDevID = “0”[/code]

Does anyone else have the problem with the trigger not firing while the alarm is in Entry Delay mode?