setAlarmSwitch(params: ISetAlarmSwitch)
Requires:
@ray-js/ray≥1.5.2
Description
Enable or disable the device’s alarm switch
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request parameters |
Return Value
Type: Promise<boolean>
Whether the setting succeeded