I am trying to display the custom modes in my google home app. But the mode are not displaying.
Below are the traits which are used in the sync intent.
{
"response": {
"requestId": "3824625397483970421",
"payload": {
"agentUserId": "be855ca8-7be8-4e4c",
"devices": [
{
"id": "device--92ada020-074a-11ed",
"type": [
"action.devices.types.VACUUM"
],
"traits": [
"action.devices.traits.StartStop",
"action.devices.traits.Modes"
],
"name": {
"defaultNames": [
"Vacuum Cleaner 2"
],
"name": "Vacuum Cleaner 2",
"nicknames": [
"Vacuum Cleaner 2"
]
},
"willReportState": true,
"roomHint": "",
"structureHint": "",
"attributes": {
"availableModes": [
{
"name": "suction",
"name_values": [
{
"name_synonym": [
"suction"
],
"lang": "en"
}
],
"settings": [
{
"setting_name": "Storm",
"setting_values": [
{
"setting_synonym": [
"Storm"
],
"lang": "en"
}
]
},
{
"setting_name": "Gust",
"setting_values": [
{
"setting_synonym": [
"Gust"
],
"lang": "en"
}
]
},
{
"setting_name": "Breeze",
"setting_values": [
{
"setting_synonym": [
"Breeze"
],
"lang": "en"
}
]
},
{
"setting_name": "Eco",
"setting_values": [
{
"setting_synonym": [
"Eco"
],
"lang": "en"
}
]
}
],
"ordered": false
}
]
},
"otherDeviceIds": [
]
}
]
}
}
}
I cannot figure out what am I doing wrong. I read the documentation but looks fine to me but still it not displaying in the google home app