For double-tap:
[
{
"id": "4940cb52.380b64",
"type": "server-events",
"z": "7068ac6f.469094",
"name": "Argon40",
"server": "e29894fd.1104d8",
"event_type": "argon40_event",
"exposeToHomeAssistant": false,
"haConfig": [
{
"property": "name",
"value": ""
},
{
"property": "icon",
"value": ""
}
],
"x": 160,
"y": 900,
"wires": [
[
"15deb283.8f426d"
]
]
},
{
"id": "15deb283.8f426d",
"type": "switch",
"z": "7068ac6f.469094",
"name": "Double Tap",
"property": "payload.event.action",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "double-tap",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 350,
"y": 960,
"wires": [
[
"3b325481.956c1c"
]
]
},
{
"id": "3b325481.956c1c",
"type": "api-call-service",
"z": "7068ac6f.469094",
"name": "Host Reboot",
"server": "e29894fd.1104d8",
"version": 1,
"debugenabled": true,
"service_domain": "hassio",
"service": "host_reboot",
"entityId": "",
"data": "",
"dataType": "json",
"mergecontext": "",
"output_location": "payload",
"output_location_type": "msg",
"mustacheAltTags": false,
"x": 570,
"y": 1020,
"wires": [
[]
]
},
{
"id": "e29894fd.1104d8",
"type": "server",
"name": "Home Assistant",
"addon": true
}
]