cancel
Showing results for 
Search instead for 
Did you mean: 

Inquiry about UI support for custom modes using action.devices.traits.Modes

chris63
Community Member

Hello Google Home Support Team,

We are implementing support for custom modes using the action.devices.traits.Modes trait as described in the official documentation: https://developers.home.google.com/cloud-to-cloud/traits/modes.

Our implementation correctly returns the custom modes via the Modes trait. However, we noticed that the UI for these custom modes does not appear on the Google Home app.

Could you please confirm whether Google Home currently supports UI display for custom modes defined using the Modes trait? If not, is there a timeline or workaround available?

Thank you for your assistance.

Best regards,

1 Recommended Answer

Suc1
Solutions Expert
Solutions Expert

Hi Chris,

 

Currently, the Google Home app does not support the display of custom modes, which are defined using `action.devices.traits.Modes`, within its user interface. While the Modes trait functions correctly with Assistant commands, there is no UI representation for these custom modes at this time.

 

A common workaround involves utilizing standard modes or combining them with other supported traits that have UI visibility. You can keep an eye on upcoming updates from Google.

 

Hope this helps!

View Recommended Answer in original post

2 REPLIES 2

chris63
Community Member

This is the SYNC response data:
{
"payload": {
"agentUserId": "8e4ab8e5f52545abb0af9e208d0ebc84",
"devices": [{
"traits": ["action.devices.traits.ColorSetting", "action.devices.traits.Brightness", "action.devices.traits.OnOff", "action.devices.traits.Modes"],
"otherDeviceIds": [{
"deviceId": "5c80b81d2cb84d7cafd18e1c1e4a8678"
}],
"customData": {
"userUuid": "8e4ab8e5f52545abb0af9e208d0ebc84",
"proxy": false,
"aesKey": "HtG92D8BibFac7zk",
"devicePassword": "C9S52eBFldNv"
},
"type": "action.devices.types.LIGHT",
"deviceInfo": {
"swVersion": "V1.00.50",
"model": "LK.light.A001863",
"hwVersion": "V1.00.50",
"manufacturer": "AiDot"
},
"willReportState": true,
"name": {
"name": "522"
},
"attributes": {
"colorModel": "hsv",
"availableModes": [{
"settings": [{
"setting_name": "p_362",
"setting_values": [{
"setting_synonym": ["Romantic dance"],
"lang": "en"
}]
}],
"ordered": false,
"name": "light_effect",
"name_values": [{
"lang": "en",
"name_synonym": ["mode"]
}]
}],
"queryOnlyModes": false,
"commandOnlyModes": true,
"commandOnlyColorSetting": false
},
"id": "5c80b81d2cb84d7cafd18e1c1e4a8678"
}, {
"traits": ["action.devices.traits.Scene"],
"type": "action.devices.types.SCENE",
"deviceInfo": {
"manufacturer": "AiDot"
},
"willReportState": false,
"name": {
"name": "test"
},
"attributes": {
"sceneReversible": false
},
"id": "59872"
}]
},
"requestId": "14281088598695896141"
}

This is the QUERY response data:
{
"payload": {
"devices": {
"5c80b81d2cb84d7cafd18e1c1e4a8678": {
"mode": 5,
"brightness": 19,
"color": {
"spectrumHsv": {
"saturation": 0,
"hue": 0,
"value": 0
}
},
"currentModeSettings": {
"light_effect": "p_362"
},
"online": true,
"on": true,
"status": "SUCCESS"
}
}
},
"requestId": "11574859627954559990"
}

Suc1
Solutions Expert
Solutions Expert

Hi Chris,

 

Currently, the Google Home app does not support the display of custom modes, which are defined using `action.devices.traits.Modes`, within its user interface. While the Modes trait functions correctly with Assistant commands, there is no UI representation for these custom modes at this time.

 

A common workaround involves utilizing standard modes or combining them with other supported traits that have UI visibility. You can keep an eye on upcoming updates from Google.

 

Hope this helps!