API Reference

Sections

Theme switcher

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_UPDATED
fieldNamestring 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?

1 2 3 4 5 6 7 8 9 10 { "actionId": null, "createdAt": null, "deviceId": null, "eventType": "DEVICE_ACTION_CREATED", "fieldName": null, "id": null, "traitName": "AutoOperatorActions", "value": null }
Was this section helpful?

What made this section helpful for you?

What made this section unhelpful for you?