This trigger fires if the selected state of the device has changed.
- API endpoint slug
- miyo.device_state_changed
Trigger fields
- Label
- Which state type should be checked?
- Slug
- state_type
- Required
- true
- Can have default value
- true
- Label
- Which device should be checked?
- Slug
- device
- Required
- true
- Can have default value
- false
Ingredients
- Slug
- created_at
- Filter code
- Miyo.deviceStateChanged.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06+05:00
- Slug
- state_type
- Filter code
- Miyo.deviceStateChanged.StateType
- Type
- String
- Example
- Solar Voltage
- Slug
- value
- Filter code
- Miyo.deviceStateChanged.Value
- Type
- String
- Example
- 1
- Slug
- device
- Filter code
- Miyo.deviceStateChanged.Device
- Type
- String
- Example
- fe80::211:7d00:30:a514