Heatermeter and Service call for Alarms

I’m using this integration and seeing if anyone knows a way from this kind of Service data for the alarm script to set just the individual with an input number like i can with the setpoint? This is the example data and these are the individual alarms. Everytime i try to isolate say 3rd one in with a script is just updates the first one…

alarms: ‘-190,-250,-100,-205,-100,-100,-100,-100’

alarms: ‘,250,’

I’ve tried something like this but I dont understand how to let the service to just update one over the other. Thanks…