This trigger fires every time a device in your house turns on or off.
- API endpoint slug
- sense_energy_monitor.device_state_change
Trigger fields
- Label
- Which device?
- Slug
- device_id
- Required
- true
- Can have default value
- false
- Label
- Which state?
- Slug
- state
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- device_name
- Filter code
- SenseEnergyMonitor.deviceStateChange.DeviceName
- Type
- String
- Example
- Oven
- Slug
- state
- Filter code
- SenseEnergyMonitor.deviceStateChange.State
- Type
- String
- Example
- On
- Slug
- changed_at
- Filter code
- SenseEnergyMonitor.deviceStateChange.ChangedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- device_id
- Filter code
- SenseEnergyMonitor.deviceStateChange.DeviceId
- Type
- String
- Example
- abc123