getZigbeeLocalGroupRelation(params: IGetZigbeeLocalGroupRelation)

版本要求:
@ray-js/ray≥1.5.2

描述

获取 Zigbee 遥控器群组 localId 列表

参数

参数类型必填说明
是请求参数

返回值

类型:Promise<IGetZigbeeLocalGroupRelationResponse>
包含 locals 数组的对象,每个元素包含 code、order、localId、categoryCode 信息

引用对象

typeIGetZigbeeLocalGroupRelationResponse
属性类型描述
localsIZigbeeLocalGroupRelationItem[]遥控器群组 localId 关系列表

示例代码

基础用法

import { getZigbeeLocalGroupRelation } from '@ray-js/ray';

getZigbeeLocalGroupRelation({
  devId: 'your_device_id',
}).then((response) => {
  console.log('localId 列表:', response.locals);
}).catch((err) => {
  console.error(err);
});