SmartAlarmAbility.getBuiltInAlarmList(devId?: string)
Requires:
@ray-js/panel-sdk≥1.8.0
Description
Query the product’s built-in alarm list by device ID
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
devId | string | No | Device ID; if omitted, the current device is used |
Return Value
Type: Promise<BuiltInAlarmList>
Built-in alarm list
Referenced Types
type
BuiltInAlarmListtype
BuiltInAlarmRule| Property | Type | Description |
|---|---|---|
auditStatus | number | Review status |
boundForPanel | boolean | Whether it is bound to a scene panel |
boundForWiFiPanel | boolean | Whether it is bound to a WiFi scene panel |
enabled | boolean | Whether enabled |
| Multilingual data body | ||
id | string | Rule ID |
localLinkage | boolean | Whether it is a local linkage |
name | string | Rule name |
newLocalScene | boolean | Whether it is an App-controlled local linkage |
stickyOnTop | boolean | Whether to display the scene on the home page |