Sim variable values flickering?

I’m having an issue with some scripting I am doing in AAO for use on my Stream Decks. Occasionally I have a variable value that just flickers between two values constantly. Had it initially with a com frequency variable, but then it just randomly stopped. Now I am having it on my com1 volume variable. This makes the state on my Stream Deck flicker as well.

Is there some way I can smooth these out with some settings, or… I don’t really know…