Using Javascript in the new Rules Engine

Hi there,

I am porting my Harmony rules from fhem to openhab.
The new (experimental) rules engine works fine so far. Now I need to wait 5 secondns before switching off the power.
How can I trigger the power switch from the javascript? I need to send the command “OFF” to the thing homematic_HMIP_PS…

“actions”: [
{
“inputs”: {},
“id”: “action_2”,
“label”: “Steckdose ausschalten”,
“description”: “”,
“configuration”: {
“itemName”: “homematic_HMIP_PS_6339e38e_000213C98DDA34_3_STATE”,
“command”: “OFF”
},
“type”: “ItemPostCommandAction”
}
],

Thanks!
Stefan