Thanks. Issue was two-fold. I needed to use .id
and I needed to print the results individually.
Easy enough now:
ids = []
if alarms:
for alarm in alarms:
ids.append(str(alarm.id))
system.alarm.acknowledge(ids, '')
Thanks. Issue was two-fold. I needed to use .id
and I needed to print the results individually.
Easy enough now:
ids = []
if alarms:
for alarm in alarms:
ids.append(str(alarm.id))
system.alarm.acknowledge(ids, '')