About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when an MCONNECT device is turned ON or OFF.
- API endpoint slug
- motorline_mconnect.switched_on_off
Trigger fields
Device Dropdown list
- Label
- Which device?
- Slug
- device
- Required
- true
- Can have default value
- false
Trigger Dropdown list
- Label
- Which trigger?
- Slug
- trigger
- Required
- true
- Can have default value
- true
Ingredients
Updated atDate when the device was changed
- Slug
- updated_at
- Filter code
- MotorlineMconnect.switchedOnOff.UpdatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Device nameName of device
- Slug
- device_name
- Filter code
- MotorlineMconnect.switchedOnOff.DeviceName
- Type
- String
- Example
- Kitchen Light
StateState for which device was changed
- Slug
- state
- Filter code
- MotorlineMconnect.switchedOnOff.State
- Type
- String
- Example
- Switched ON