Hey, I was having the same issue and I also thought it had something to do with authentication but actually you will also see this message if the syntax of your POST is wrong. What are you trying to achieve?
There is already a xiaomi component on home assistant, aren’t you able to use that?
Also your code is wrong. You start with “[” instead of “{” and the formatting is messed up. If I understand what you’re trying to do correctly, your code should look like this :
I’m getting this error (the same error I’ve had for days, I don’t know the solution
2019-01-06 19:45:36 ERROR (MainThread) [homeassistant.core] Invalid service data for vacuum.send_command: required key not provided @ data['command']. Got None
It starts cleaning in zone cleanup BUT on the map it doesn’t show the zone, and what it actually does is start a normal cleanup. It looks like the params is not being passed on to the unit when sent from webhook. As I wrote earlier, if use the same command through service dev tool, it works perfectly.
I did try with double brackets. No luck. I ended up making scripts and calling them instead. It was just easier if I could send the params through ifttt. But thank you for your help:)