getCommandCache(params: GetCommandCacheParams)
Requires:
@tuya-miniapp/cloud-api≥1.0.5
Description
Query the pending commands (DP set) cached in the cloud for the specified device. Supports Wi-Fi and ZigBee devices.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request body |
Return Value
Type: Promise<GetCommandCacheResult>
CommandCache array; see this type’s comments for element fields
Referenced Types
type
GetCommandCacheResult