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 the devices is turned on/off
- API endpoint slug
- vont_home.user_device_switch_change
Trigger fields
Device name Dropdown list
- Label
- Device name
- Helper text
- Please select one of your devices
- Slug
- device_name
- Required
- true
- Can have default value
- false
Action Dropdown list
- Label
- Action
- Helper text
- Please select an action
- Slug
- action
- Required
- true
- Can have default value
- true
Ingredients
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- VontHome.userDeviceSwitchChange.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
ActionThe action that occurs on the device.
- Slug
- action
- Filter code
- VontHome.userDeviceSwitchChange.Action
- Type
- String
- Example
- ON
Device nameDevice name of the user.
- Slug
- device_name
- Filter code
- VontHome.userDeviceSwitchChange.DeviceName
- Type
- String
- Example
- myLight