我没有设法使“降低AC单位速度...”或“提高AC单位速度”的意图起作用。我得到的答案是交流单元不支持该功能。
如果显式调用速度,则traits action.devices.traits.FanSpeed可以正常工作:“将AC单位速度设置为低”,“将AC单位速度设置为中”,“将AC单位速度设置为高”。
我的理解是“有序”:确实应该解决这个问题,我错过了什么吗?在属性(Python)下:
"attributes": {
"availableFanSpeeds": {
"speeds": [
{ "speed_name": "low", "speed_values": [{"speed_synonym": ["low", "speed 1", "min", "minimum"], "lang": "en" }] },
{ "speed_name": "medium", "speed_values": [{"speed_synonym": ["medium", "average", "speed 2"],"lang": "en" }] },
{ "speed_name": "high", "speed_values": [{"speed_synonym": "high","max", "maximum", "speed 3"],"lang": "en" }] }
],
"ordered": True
},
"reversible": False,