我正在尝试在我的服务上运行谷歌智能家居自动化测试。我测试正确检索服务的设备和特征。然而,当我开始测试时,什么也没发生。没有超时,没有错误,什么都没有。
在我的网络浏览器开发人员看来,我从谷歌的测试套件应用程序中看到了以下错误。它会导致测试无法启动吗?这是我的问题还是谷歌的问题?
ERROR a.split is not a function
Yh @ app_compiled.js?523e…-6feac3eecc6b:18199
Zh.handleError @ app_compiled.js?523e…-6feac3eecc6b:18199
next @ app_compiled.js?523e…-6feac3eecc6b:18335
f @ app_compiled.js?523e…-6feac3eecc6b:18316
g.ht @ app_compiled.js?523e…-6feac3eecc6b:18293
g.next @ app_compiled.js?523e…-6feac3eecc6b:18292
g.ba @ app_compiled.js?523e…-6feac3eecc6b:18290
g.next @ app_compiled.js?523e…-6feac3eecc6b:18290
g.next @ app_compiled.js?523e…-6feac3eecc6b:18295
Ln.emit @ app_compiled.js?523e…-6feac3eecc6b:18315
(anonymous) @ app_compiled.js?523e…-6feac3eecc6b:18320
u.vb @ app_compiled.js?523e…-6feac3eecc6b:18086
p.run @ app_compiled.js?523e…-6feac3eecc6b:18078
Nn.Aa @ app_compiled.js?523e…-6feac3eecc6b:18319
Nj @ app_compiled.js?523e…-6feac3eecc6b:18320
u.handleError @ app_compiled.js?523e…-6feac3eecc6b:18086
p.Zo @ app_compiled.js?523e…-6feac3eecc6b:18079
t.gi @ app_compiled.js?523e…-6feac3eecc6b:18088
p @ app_compiled.js?523e…-6feac3eecc6b:18115
q @ app_compiled.js?523e…-6feac3eecc6b:18115
load (async)
ia @ app_compiled.js?523e…-6feac3eecc6b:18108
u.Xg @ app_compiled.js?523e…-6feac3eecc6b:18086
mi @ app_compiled.js?523e…-6feac3eecc6b:18169
u.Xg @ app_compiled.js?523e…-6feac3eecc6b:18086
mi @ app_compiled.js?523e…-6feac3eecc6b:18083
u.Xg @ app_compiled.js?523e…-6feac3eecc6b:18086
p.Xg @ app_compiled.js?523e…-6feac3eecc6b:18080
p.Es @ app_compiled.js?523e…-6feac3eecc6b:18081
(anonymous) @ app_compiled.js?523e…-6feac3eecc6b:18111
(anonymous) @ app_compiled.js?523e…-6feac3eecc6b:18977
Show 36 more frames
在这里跟进-我遇到的问题是,我在Sync请求中使用了关于如何使用ThermostatMode的推荐定义,这是一个字符串的JSON区域。
相反,我被要求实现不推荐使用的表示格式,它是一个逗号分隔的字符串。一旦切换到不推荐使用的格式,套件就会运行。
请参阅:https://developers.google.com/assistant/smarthome/traits/temperaturesetting
对于2种格式。再次,我不得不使用不推荐使用的格式(不是最新推荐的格式(。