You can set the Plug Mini's action
- API endpoint slug
- switchbot.set_delay_on_off_plug
- Filter code method
- Switchbot.setDelayOnOffPlug.skip(string?: reason)
- Runtime method
- runAction("switchbot.set_delay_on_off_plug", {})
Action fields
- Label
- Choose a Plug mini
- Slug
- chose_a_device
- Required
- true
- Can have default value
- false
- Label
- Turn On/Off
- Slug
- turn_on_off
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.setDelayOnOffPlug.setTurnOnOff(string: turnOnOff)
- Label
- Delay time
- Helper text
- Input delay minute
- Slug
- set_time
- Required
- true
- Can have default value
- true
- Filter code method
- Switchbot.setDelayOnOffPlug.setSetTime(string: setTime)