I have a question about the device.trait "Modes"
I create a washer machine with traits Modes and the SYNC.response look like this
{
"requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
"payload": {
"agentUserId": "1836.15267389",
"devices": [
{
"id": "311_washer_1",
"type": "action.devices.types.WASHER",
"traits": ["action.devices.traits.Modes","action.devices.traits.OnOff"],
"name": {
"name": "Laboratory Washer 1",
"nicknames": ["Laboratory Washer"]
},
"willReportState": false,
"attributes":{
"availableModes":[{
"name": "speed",
"name_values": [{
"name_synonym": ["speed"],
"lang": "en"
}],
"settings": [{
"setting_name": "fast",
"setting_values": [{
"setting_synonym": ["fast"],
"lang": "en"
}]
},{
"setting_name": "medium",
"setting_values":[{
"setting_synonym":["medium"],
"lang": "en"
}]
},{
"setting_name": "slow",
"setting_values":[{
"setting_synonym":["slow"],
"lang": "en"
}]
}
],
"ordered": true
}]
}
}
]
}
}
I have a mode call "speed"
but when I talk to the assistant, it just replay my that "That mode isn't available for it"
Can somebody tell me where is wrong or is it related to
Currently, you must use the names in the example JSON; custom names are not yet supported.
in the instruction page
Thank you~~