【问题标题】:How can I group device on discovery in Google smart home action?如何在 Google 智能家居操作中对设备进行分组?
【发布时间】:2020-12-02 18:13:33
【问题描述】:

我的智能家居技能已经与 google home 配合得很好,但是当 google home 第一次发现设备时,我想将设备分组到不同的房间并将此信息转发回 google home。我知道用户可以在同步事件之后制作房间并为他们分配设备,但我想在同步事件中对它们进行分组,这样用户就不需要从他们的最后开始这样做。有可能吗?

【问题讨论】:

    标签: actions-on-google google-assistant-sdk google-home google-smart-home


    【解决方案1】:

    在您的 SYNC 响应中,您可以返回每个设备的 roomHint property,这将在发现 Google 助理后向其提供信号。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多