Explore Plans
Mobile menu Close menu
TPorigTPorig

Turned on/off

This trigger fires when the devices is turned on/off

Developer info

API endpoint slug
TPorig.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
TPorig.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
TPorig.userDeviceSwitchChange.Action
Type
String
Example
ON

Device nameDevice name of the user.

Slug
device_name
Filter code
TPorig.userDeviceSwitchChange.DeviceName
Type
String
Example
myLight