This action will record a change in device status to help us know what is happening with your devices.
- API endpoint slug
- ohmconnect.device_status_change
- Filter code method
- Ohmconnect.deviceStatusChange.skip(string?: reason)
- Runtime method
- runAction("ohmconnect.device_status_change", {})
Action fields
- Label
- Type of device
- Slug
- device_type
- Required
- true
- Can have default value
- true
- Filter code method
- Ohmconnect.deviceStatusChange.setDeviceType(string: deviceType)
- Label
- Nickname for the device
- Helper text
- if your device already has a nickname, enter that here or enter a new nickname e.g. Hallway or Bedroom
- Slug
- device_name
- Required
- false
- Can have default value
- true
- Filter code method
- Ohmconnect.deviceStatusChange.setDeviceName(string: deviceName)
- Label
- What is changing?
- Helper text
- short tag to indicate what is changing e.g. temperature, power, status
- Slug
- status_key
- Required
- true
- Can have default value
- true
- Filter code method
- Ohmconnect.deviceStatusChange.setStatusKey(string: statusKey)
- Label
- What is the new value?
- Helper text
- for a thermostat this might be a temperature, for a plug this might be on/off
- Slug
- status_value
- Required
- true
- Can have default value
- true
- Filter code method
- Ohmconnect.deviceStatusChange.setStatusValue(string: statusValue)