i've implemented a Smart Home app on Google, and now want to implement the n-way Modes trait for some switch types. my JSON response seems to mirror that of the example, and discovery works, but i can't interact with the switch using the mode examples (JSON not complete) - anyone got any idea what i'm missing?
"attributes": {
"availableModes": [{
"name": "Control",
"name_values": [{
"name_synonym": ["control", "mode"],
"lang": "en"
}],
"settings": [{
"setting_name": "Off",
"setting_values": [{
"setting_synonym": [ "Off"],
"lang": "en"
}]
},{
"setting_name": "Level1",
"setting_values": [{
"setting_synonym": ["Level1"],
"lang": "en"
}]
}],
"ordered": false
}]
}