自动化场景获取不到的

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
yeslee
Posts: 14

  • Tuya MiniApp IDE 版本信息:0.10.2

    • App 应用版本信息: 6.11.6

      "@ray-js/panel-sdk": "1.10.0","@ray-js/ray": "1.5.36",

    • 移动设备信息:小米15 android16

    • 相关代码:
      // 获取场景列表
      getSceneListV2({
      devId: deviceId,
      gid: res.homeId,
      })
      .then((response) => {
      console.log('getSceneListV2 :', response);
      setSceneList(response || []);
      })
      .catch((error) => {
      console.error('getSceneListV2 error:', error);
      });

    • 问题描述 新建一个自动化场景,绑定该场景后控制,再更改这个场景的配置,getAceneListV2这个接口就获取不到这个场景了


Tags:
Post Reply