[英]action.devices.commands.OpenClose trait in Google Smart Home actions does not work properly
When I give command "Open the device 30 percent", the data received by intent fulfillment is当我发出命令“将设备打开 30%”时,意图实现收到的数据是
{
"command": "action.devices.commands.OpenClose",
"params": {
"followUpToken": "00f38e7b45edbc12fafce49c23568896b7feea58a8a4ba873f31abad7db96de28a25389a2987c7f8deff41afcb25fdffb2b81fe2",
"openPercent": 100
}
}
As shown above, the "openPercent" is not correctly interpreted.如上所示,未正确解释“openPercent”。 But if I give command "Close the device 70 percent", the data received by intent fulfillment is
但是如果我发出命令“关闭设备 70%”,意图实现接收到的数据是
{
"command": "action.devices.commands.OpenClose",
"params": {
"followUpToken": "00f38e7b4588ad650859efe30a46d7dcb565e3a7eea257919678d5cda32fd769f290298ec8c9d40d0eb3a1b52b0063921823a39d",
"openPercent": 30
}
}
So we can see that the "openPercent" is correctly interpreted for this command.所以我们可以看到“openPercent”被正确解释为这个命令。
Just wondering what caused the action.devices.commands.OpenClose trait only works partially.只是想知道是什么导致了 action.devices.commands.OpenClose 特性只部分起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.