I tried for the last 2 days, but I could not find a solution to set stepmode to 0 or 1.
stepmode: "{{trigger.event.data.params.step_mode}}"
is
stepmode: StepMode.Up
for button 3 and
stepmode: StepMode.Down
for button 4
So a check against 0 or 1 will never be true, but a check against the string “StepMode.Up” or “StepMode.Down” would be true.