I didn’t like the overhead that came along with the filterAlarm event. I ended up going with the the conditions property to a source that will populate the alarms status table. This works and will update the label next to the alarm icon with the value of Alarms.
I don’t want to use the system.alarm.queryStatus(). Seems like the table component already has the current number of alarms working and why not build on that?
Using getChildren() I can’t seem to find the value of the text that gets updated when an alarm is active.