02-08-2023 10:15 AM
Hello everybody,
I've develop a smart home action that implements trait action.devices.traits.StartStop and, during SYNC phase, it returns availableZones in english
{
"pausable": true,
"availableZones": [
"kitchen",
"living room",
"office",
"bedroom"
]
}
Now, when I say to assistant "Start Robot in kitchen", all works ok, I receive following (partial request)
"execution":[
{
"command":"action.devices.commands.StartStop",
"params":{
"start":true,
"zone":"kitchen"
}
}
]
But, when I talk in my native language Italian, if I say to assistant "Fai partire Robot in cucina", command doesn't work, I receive following
"execution":[
{
"command":"action.devices.commands.StartStop",
"params":{
"start":true
}
}
]
Assistant ignores "cucina" word (that is kitchen in Italian). It works only if I add explicitly "cucina" to availableZones during SYNC phase.
Is it a bug?
Thank you.
Francesco
02-22-2023 06:18 PM
Thanks for bringing this up. Can you please share your full Sync response for us to look further?
02-23-2023 02:32 AM
This is full Sync response:
{
requestId: "16750979444015988002",
payload: {
agentUserId: "agentUserId",
devices: [
{
id: "513aed3b-7219-496f-87cc-aab80d06f44b",
type: "action.devices.types.VACUUM",
traits: [
"action.devices.traits.Dock",
"action.devices.traits.EnergyStorage",
"action.devices.traits.StartStop",
],
name: {
name: "Robot",
},
willReportState: true,
attributes: {
queryOnlyEnergyStorage: true,
pausable: true,
availableZones: [
"kitchen",
"living room",
"office",
"bedroom",
"study",
],
},
deviceInfo: {
manufacturer: "MyVacuum",
model: "MyRobot",
hwVersion: "TBD",
swVersion: "TBD",
},
},
],
},
}
Thank you so much.
Francesco
09-15-2023 08:46 AM
Tebrik ederim gerçekten hiç beklemezdim yarın bi olsun bakalım