SmartTapToRunAbility.bind(params: BindParams)
Requires:
@ray-js/panel-sdk≥1.11.0
Description
Bind automation trigger conditions to a Tap-to-Run
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Binding parameters |
Return Value
Type: Promise<BindTapToRunResult>
Binding result
Referenced Types
type
BindTapToRunResultTap-to-Run binding result| Property | Type | Description |
|---|---|---|
associativeEntityId | string | Associated entity ID, in the format dpId#dpValue |
associativeEntityValue | string | Associated rule ID |
bindId | number | Bind ID, typically used for unbinding |
bizDomain | string | Business domain; for Tap-to-Run this is fixed as wirelessSwitchBindScene |
id | number | Data ID |
ownerId | string | Home ID |
sourceEntityId | string | Device ID |
triggerRuleId | string | Trigger rule ID |