getDevAlarmList
Requires:
@ray-js/ray≥1.5.2
Method signature
getDevAlarmList(devId: string)Description
Query the alarm list by device ID
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
devId | string | Yes | Device ID |
Return Value
Type: Promise<AlarmList[]>
Alarm rule list, including alarm ID, name, enabled status, binding info, etc.
Referenced Types
interface
AlarmList| Property | Type | Description |
|---|---|---|
auditStatus | number | Review status |
boundForPanel | boolean | Whether bound to a scene panel |
boundForWiFiPanel | boolean | Whether bound to a WIFI scene panel |
enabled | boolean | Whether enabled |
| Multilingual data payload | ||
id | string | Rule ID |
iotAutoAlarm | boolean | Whether this is an IoT automatic alert |
isLogicRule | boolean | Whether this is a logical rule |
localLinkage | boolean | Whether this is local linkage |
name | string | Rule name |
newLocalScene | boolean | Whether this is APP-controlled local linkage |
stickyOnTop | boolean | Whether the scene is displayed on the home page |