This action will set the Chacon / DiO plug to the desired state.
- API endpoint slug
- chacon_dio.a_generic_switch_set
- Filter code method
- ChaconDio.aGenericSwitchSet.skip(string?: reason)
- Runtime method
- runAction("chacon_dio.a_generic_switch_set", {})
Action fields
- Label
- Which device ?
- Helper text
- Choose the plug you want to control
- Slug
- device_id_plug
- Required
- true
- Can have default value
- false
- Label
- Which state ?
- Helper text
- The new state to apply to the device
- Slug
- state
- Required
- true
- Can have default value
- true
- Filter code method
- ChaconDio.aGenericSwitchSet.setState(string: state)