getStatisticsConfig(data: IDevId)
Requires:
@tuya-miniapp/cloud-api≥1.0.5
Description
Retrieve the statistics configuration and the DPs enabled for Smart Metering, along with their settings.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request body |
Return Value
Type: Promise<IStatisticsConfig[]>
IStatisticsConfig[] (see type definitions and the minituya return value table for field meanings)