# Set output on action
shelly action set living-room out_on_url "http://homeserver/api/light-on"
# Set button long press action
shelly action set switch longpush_url "http://homeserver/api/dim-lights"
# Set action at a specific index (for multi-channel devices)
shelly action set relay out_on_url "http://server/trigger" --index 1
# Set action but leave it disabled
shelly action set switch out_on_url "http://server/test" --disabled
--disabled Disable the action (same as --enabled=false)
--enabled Enable the action (default true)
-h, --help help for set
--index int Action index (for multi-channel devices)