Enlosure Output as Button

Hello, I get following Problem.

I wanna connect an Heater with my octopi.

I connected some wires parallel to the buttons on the heater and connected the other side with Relais.

Now my Problem i need the Output on the Enclosure Plugin work like a button not like a switch,

I tryed before to use the function with the scripts but, with this solution iam not able to use the other functions of the Plugin, like at Temp: XXX start heating. Because the Plugin only works with a Regular Output.

I have already thought of writing a script which look at the GPIO Pin and if it is High directly set it to low.

If you have an idea, please answer.

PS.
Sorry for my bad English.

Simon Rieks