Explore Plans
Mobile menu Close menu
WattTimeWattTime

Change switch state

This trigger fires when a switch should be turned on or off.

Developer info

API endpoint slug
watttime.switch_on_off

Trigger fields

Device location Location input > Point

Label
Where is your device located?
Helper text
We need this to determine the cleanliness of the grid at your location.
Slug
device_location
Required
true
Can have default value
true

Device name Text input > Other

Label
What would you like to name your device?
Helper text
Use a different name for each of your devices. This device name will be used in your Watt Time dashboard to provide usage information.
Slug
device_name
Required
true
Can have default value
true

Ingredients

Switch onBoolean: if true, turn switch on. If false, turn switch off.

Slug
switch_on
Filter code
Watttime.switchOnOff.SwitchOn
Type
String
Example
true

DateThe time and date at which this event occured

Slug
date
Filter code
Watttime.switchOnOff.Date
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00