How to toggle buttung and change variable for alarm from "on" to "off"

Hi all, I am quite new with my Home Assistant and I love it. The CCU3 is already integrated as add on on seems to work. I am also already in the position to write variables from HA to CCU3 with develeoper options. BUT: I want to create a new button in HA and switch “ON” and “OFF” only varables in CCU3 to activate and deactivate the alarm running on CCU3. How can I toggle a button? I have no clue…
Thanks in advance!

Hello! I didn’t quite understand what you meant, but here’s a clue that might help.