Open electrofun-smart opened 4 years ago
What command are you giving to your service?
I called my Pet Feeder as Meg Feeder, than in assistant I say: "Dispense 1 cup of cat food in my Meg Feeder"
I can reproduce this, and I'll work on a fix.
Is this an issue you've having with this sample or your own implementation?
Hi, I'm trying to use the Pet Feeder device that has trait dispense and I'm getting the error below. The device was created using the sample front-end application.
28: { logMessage: "[i~smart-devices-mbfa/20200714t115449.428084367232914064].: 2020-07-19 23:58:13 [RequestF9AE1265] INFO :: doPost, body = {"inputs":[{"context":{"locale_country":"US","locale_language":"en"},"intent":"action.devices.EXECUTE","payload":{"commands":[{"devices":[{"id":"1o73"}],"execution":[{"command":"action.devices.commands.Dispense","params":{"amount":1,"item":"catFood","unit":"CUPS"}}]}]}}],"requestId":"14731957334120212545"}
"
} 30: { logMessage: "[i~smart-devices-mbfa/20200714t115449.428084367232914064].: response = {"payload":{"commands":[{"ids":["1o73"],"errorCode":"Cannot convert [Ljava.util.HashMap;@3fee564 to Firestore Value","status":"ERROR"},{"ids":[],"status":"SUCCESS","states":{}}]},"requestId":"14731957334120212545"}