This action will update the configuration of a widget.
- API endpoint slug
- pushcut.update_widget
- Filter code method
- Pushcut.updateWidget.skip(string?: reason)
- Runtime method
- runAction("pushcut.update_widget", {})
Action fields
- Label
- Which widget?
- Slug
- widget
- Required
- true
- Can have default value
- false
- Label
- Which content/design?
- Helper text
- The name of the content/design you'd like to display. Leave empty to use the default content for the widget.
- Slug
- content
- Required
- false
- Can have default value
- false
- Label
- What inputs?
- Helper text
- Inputs to be passed to the widget. Provide a newline-separated list, starting with the first input (i.e. [[input0]]) and ending with the last input.
- Slug
- inputs
- Required
- false
- Can have default value
- true
- Filter code method
- Pushcut.updateWidget.setInputs(string: inputs)
- Label
- Which devices?
- Helper text
- Enter names of the devices to update. Leave empty to update all devices
- Slug
- devices
- Required
- false
- Can have default value
- false
- Label
- What should happen when the widget is tapped?
- Slug
- on_tap
- Required
- false
- Can have default value
- false