Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid data for service call vacuum service call vacuum.start" when sending command via REST API #651

Open
theotherp opened this issue Aug 1, 2024 · 1 comment

Comments

@theotherp
Copy link

Hi. I'm trying to trigger cleaning using the REST API. Not sure if the issue is with HA or the roborock plugin.

I send this JSON:

{
                      "target": {
                        "entity_id": [
                          "vacuum.roborock_q_revo"
                        ]
                      },
                      "data": {
                        "command": "app_segment_clean",
                        "params": {
                          "segments": [
                            16,
                            17
                          ]
                        }
                      }
                    }

I get a 400 response and the log says 2024-08-01 10:50:39.541 DEBUG (MainThread) [homeassistant.core] Invalid data for service call vacuum.start: {'target': {'entity_id': ['vacuum.roborock_q_revo']}, 'data': {'command': 'app_segment_clean', 'params': {'segments': [16, 17]}}}

Something seems to be wrong with this anyway because trying to call the service via the debug tools doesn't work either. The log doesn't show any more information.

Any help would be appreciated.

@theotherp
Copy link
Author

Is there any way I could debug this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant