Explore Plans
Mobile menu Close menu
Sense Energy Monitor

Device turned On/Off

This trigger fires every time a device in your house turns on or off.

Developer info

API endpoint slug
sense_energy_monitor.device_state_change

Trigger fields

Device Dropdown list

Label
Which device?
Slug
device_id
Required
true
Can have default value
false

State Dropdown list

Label
Which state?
Slug
state
Required
true
Can have default value
true

Ingredients

Device name The name of the device.

Slug
device_name
Filter code
SenseEnergyMonitor.deviceStateChange.DeviceName
Type
String
Example
Oven

State The new state of the device, either 'On' or 'Off'.

Slug
state
Filter code
SenseEnergyMonitor.deviceStateChange.State
Type
String
Example
On

Changed at Date and time the device changed state.

Slug
changed_at
Filter code
SenseEnergyMonitor.deviceStateChange.ChangedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Device The unique ID of the device.

Slug
device_id
Filter code
SenseEnergyMonitor.deviceStateChange.DeviceId
Type
String
Example
abc123