I’ll get the error “Invalid service data for vacuum.send_command: expected Dict for dictionary value @ data[‘params’]. Got [22, 0, 6, 0]”.
I already tried adding “” before and after the [], but it still wouldn’t work. And I have no idea why it wants a dictionary value here…
So, the documentation/example has been changed. The parameters need a dictionary: “params”: {“key”: “value”}
Unfortunately I still don’t know how to get the above example to work, since I do not know what the keys are or how I can figure them out. Not only for this command, but for the other ones also.
All the examples that I could find are for other implementations, e.g openHab or iobroker that don’t use any dictionaries: XiaomiRobot Vacuum Protocol