This Trigger fires every time a Chacon / DiO plug is switched to the desired state.
- API endpoint slug
- chacon_dio.t_generic_switch
Trigger 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
- Type of action ?
- Slug
- action
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- device_id
- Filter code
- ChaconDio.tGenericSwitch.DeviceId
- Type
- String
- Example
- MY_deviceid1234
- Slug
- state
- Filter code
- ChaconDio.tGenericSwitch.State
- Type
- String
- Example
- on
- Slug
- created_at
- Filter code
- ChaconDio.tGenericSwitch.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00