Ikea Tradfri 2 button remote control API rules Json coding help

I notice the need to fix following:

Change button1 definition

“component”: “button1”,
“capability”: “button”,
“attribute”: “button”,
“trigger”: “Always”

Delete arguments definition from switch commands

“commands”: [
{
“component”: “main”,
“capability”: “switch”,
“command”: “on”,
}
]

“commands”: [
{
“component”: “main”,
“capability”: “switch”,
“command”: “off”,
}
]