恒温器触摸控制可用于一个动作,但不可用于另一动作

问题描述

我正在为 Actions on Google 开发智能家居操作。我有两个处于草稿状态的智能家居操作。每个操作都会返回一个包含恒温器设备的相同 SYNC 响应,如下所示。

{
  "payload": {
    "agentUserId": "1234","devices": [
      {
        "id": "my-test-device-id","type": "action.devices.types.THERMOSTAT","deviceInfo": {
          "model": "L","manufacturer": "L","hwVersion": "1.0.0","swVersion": "2.0.0"
        },"traits": [
          "action.devices.traits.TemperatureSetting"
        ],"willReportState": false,"name": {
          "name": "My AC"
        },"attributes": {
          "thermostatTemperatureUnit": "C","availableThermostatModes": [
            "off","heat","cool","on"
          ]
        }
      }
    ]
  },"requestId": "1695631778966374749"
}

当我在 Google Pixel 3 (Android 11) 上的 Google Home 应用中链接这些操作时,恒温器的 touch control 可用于一个操作,但不能用于另一个操作。当触控不可用时,恒温器会收到一个齿轮图标。当我按下该图标时,会出现“设备设置”屏幕,但我无法更改温度。造成这种差异的原因可能是什么?

在 Google Pixel 3 (Android 11) 上测试

Thermostat with Touch Controls

Thermostat without Touch Controls (with gear icon)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...