Using runScript

How do i format this to get the int output?

toInt(runScript("len(system.alarm.queryStatus(state='AlarmAcked')"))

Maybe one of these system tags instead?

3 Likes