admin管理员组

文章数量:1406937

I am seeing "this device does not support this action" in the Google Home app when the modes are in Portuguese (pt-BR).

This is the QUERY response:

{"status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"requestId":"10096929011128398507","payload":{"agentUserId":"6713a2ed5aa47acf79dc2315","devices":[{"id":"67c99cd7395719bf83fa84ac","type":"action.devices.types.GRILL","traits":["action.devices.traits.Modes","action.devices.traits.OnOff","action.devices.traits.StartStop"],"name":{"defaultNames":["firetech"],"name":"firetech","nicknames":["firetech"]},"willReportState":true,"roomHint":"Living Room","deviceInfo":{"manufacturer":"Sinric Pro","model":"CustomDevice","hwVersion":"1.0","swVersion":"1.0"},"attributes":{"availableModes":[{"name":"GrelhaModo","name_values":[{"name_synonym":["GrelhaModo"],"lang":"pt-BR"}],"settings":[{"setting_name":"Sobe","setting_values":[{"setting_synonym":["Sobe"],"lang":"pt-BR"}]},{"setting_name":"Desce","setting_values":[{"setting_synonym":["Desce"],"lang":"pt-BR"}]}]}],"pausable":true}}]}}}

When I open the GoogleHome app and change the mode in the app, it says "this device does not support this action"

If I do the same using English modes it works.

{"status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"requestId":"1758479752538642973","payload":{"agentUserId":"6713a2ed5aa47acf79dc2315","devices":[{"id":"67c99c18395719bf83fa8408","type":"action.devices.types.GRILL","traits":["action.devices.traits.Modes","action.devices.traits.OnOff","action.devices.traits.StartStop"],"name":{"defaultNames":["firetech"],"name":"firetech","nicknames":["firetech"]},"willReportState":true,"roomHint":"Living Room","deviceInfo":{"manufacturer":"Sinric Pro","model":"CustomDevice","hwVersion":"1.0","swVersion":"1.0"},"attributes":{"availableModes":[{"name":"GrelhaModo","name_values":[{"name_synonym":["GrelhaModo"],"lang":"en"}],"settings":[{"setting_name":"Sobe","setting_values":[{"setting_synonym":["Sobe"],"lang":"en"}]},{"setting_name":"Desce","setting_values":[{"setting_synonym":["Desce"],"lang":"en"}]}]}],"pausable":true}}]}}}

Does anyone knows what needs to be done to fix the pt-BR

Thanks!

本文标签: google homequotthis device does not support this actionquot for modesStack Overflow