resetStatistics(data: IDevId)
Requires:
@tuya-miniapp/cloud-api≥1.0.5
Description
Reset the device’s statistical data.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request body |
Return Value
Type: Promise<boolean>
The docs show a response of true; this function returns Promise<any>, subject to the actual wrapper