cancel
Showing results for 
Search instead for 
Did you mean: 

zone and multipleZones in trait action.devices.traits.StartStop EXECUTE are not translated

francarl77
Community Member

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

 

 

3 REPLIES 3

armen_dpe
Solutions Expert
Solutions Expert

Thanks for bringing this up. Can you please share your full Sync response for us to look further?

francarl77
Community Member

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

Tebrik ederim gerçekten hiç beklemezdim yarın bi olsun bakalım