8000 Dispense trait error - Cannot convert [Ljava.util.HashMap;@3fee564 to Firestore Value · Issue #15 · google-home/smart-home-java · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Dispense trait error - Cannot convert [Ljava.util.HashMap;@3fee564 to Firestore Value #15

Open

Description

@electrofun-smart

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"}

"

severity: "INFO"     
time: "2020-07-19T23:58:13.765Z"     

}
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"}

Activity

  1. Fleker commented on Jul 20, 2020

    @Fleker
    Contributor

    What command are you giving to your service?

  2. electrofun-smart commented on Jul 20, 2020

    @electrofun-smart
    Author

    I called my Pet Feeder as Meg Feeder, than in assistant I say: "Dispense 1 cup of cat food in my Meg Feeder"

  3. Fleker commented on Jul 22, 2020

    @Fleker
    Contributor

    I can reproduce this, and I'll work on a fix.

  4. proppy commented on Jan 21, 2021

    @proppy
    Contributor

    Is this an issue you've having with this sample or your own implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0