Help with an automation heatmister

I wonder if you guys can help, never setup any automations before, so no ideas where to start.

I have a sensor on my HVAC extract connected to a Tasmada device, and I have Heatmister UFH control. What I need is when the HVAC sensor is above 23C to put all the Heatmister stats into standby or holiday mode, so no UFH heating is on, until the HVAC sensor is below 22C

Is this possible?

So I have created a threshold integration that checked the HVAC sensor is between the two temperatures and goes to state ON. So that works, now how to get it to turn off the heating while the state is ON. I setup a script that seems to work, but only fires once.