DeviceStateUpdatedEvent
DeviceStateUpdatedEvent
actionIdid
The actionId of the corresponding action (if this state change was triggered by an action)
createdAtdatetime Required
When this event occurred
deviceIdid Required
The ID of the device that emitted this event
eventTypestring Required
The type of event
Enum values:
DEVICE_ACTION_CREATEDDEVICE_ACTION_UPDATEDDEVICE_BULK_DATA_STATE_UPDATEDDEVICE_NOTIFICATION_REPORTEDDEVICE_STATE_UPDATEDfieldNamestring Required
The state field being updated
idid Required
Unique identifier for the event
traitNamestring Required
The trait name containing the state field
Enum values:
AutoOperatorActionsAutoRelockDelaySettingsV1BatteryV1BeeperSettingsV1BleCredentialSettingsV1BleV1ConnectivityActionsConnectivityEventSettingsV1ConnectivityV1CredentialsAndSchedulesV1... 26 other enums
valuejson
The new value of the state field
Was this section helpful?
What made this section helpful for you?
What made this section unhelpful for you?
Was this section helpful?