ColorSetting report state failing
See original GitHub issueAt least I think its ColorSetting. I have a user sending a request and getting an error over the following:
2019-01-06 19:48:35.612 +03:00 [Warning] Google Home Graph update failed for devices: home/hall/strip
2019-01-06 19:48:35.612 +03:00 [Warning] Request: {"requestId":"xxxx","eventId":"xxxx","agentUserId":"xxxx","followUpToken":null,"payload":{"devices":{"states":{"home/hall/strip":{"on":false,"brightness":100,"color":{"spectrumRgb":0}},"notifications":null}}
2019-01-06 19:48:35.612 +03:00 [Warning] Response: {
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT"
}
}
Unless there’s additional validation over that spectrumRgb not being 0, or having a brightness in combination with on = false, I’m not sure what would be incorrect there. My understanding from the docs here is that state is tied to an individual TRAIT instead of for a device as a whole, which would make me think you aren’t doing cross-trait validation.
What am I missing?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Smart Home OpenClose Trait Schema
Set this attribute to true if the device cannot respond to a QUERY intent or Report State for this trait. queryOnlyOpenClose, Boolean. (Default:...
Read more >Smart Home & Report State: what happens if the current ...
Failure to report the most recent state may result in errors when users try to execute commands if the command is state dependent....
Read more >Frequently Asked Questions - Slurm Workload Manager
The job can be in state RUNNING, SUSPENDED, COMPLETED or FAILED before being requeued. $ scontrol requeuehold 10 $ squeue JOBID PARTITION NAME ......
Read more >Google Assistant Smart Home Part 2: API Implementation
ColorSetting or even have an integrated camera and allow people to ... Report State is an API for pushing the real-time state of...
Read more >Cytoflex-Manual.pdf
Report any broken parts to your Beckman Coulter Representative. ... Cytometer state, certain functions may not be available. Standby state.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So to be clear:
Yes. I understand it’s not very intuitive, but that’s an accurate representation of the development process right now.