Virtual button

I’d like a ‘soft key’ button that I can switch on when I arm my home alarm. I set up an entity input_boolean. arm but I’m not sure how to use it in node-red. Any help appreciated.

Here is a quick test flow that will toggle an input_boolean. You can also configure the call service node to turn_on or turn_off

[{"id":"87e91c1a.108b8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"5f02ffbb.67605","type":"inject","z":"87e91c1a.108b8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":210,"y":140,"wires":[["570d461b.b70248"]]},{"id":"570d461b.b70248","type":"api-call-service","z":"87e91c1a.108b8","name":"","server":"fc1437ec.ba4bd8","version":1,"debugenabled":true,"service_domain":"input_boolean","service":"toggle","entityId":"input_boolean.test_toggle","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":490,"y":140,"wires":[[]]},{"id":"fc1437ec.ba4bd8","type":"server","name":"Home Assistant","addon":true}]