Xiaomi robotic vacuum cleaner and HA interlock problem, please help!

My first token was my mistake and I should have confirmed it after connecting to my lab.

I did not understand.

But the other problem is that even if I get the token, I get an error and do not recognize the TEST command.


INFO:mirobo.device: IP 192.168.8.1: 983 - token: b’7062306xxxxxxxxxxxxxxxxxxxxx’
INFO:mirobo.device:Discovery done
Traceback (most recent call last):
File “/usr/local/bin/mirobo”, line 11, in
load_entry_point(‘python-mirobo’, ‘console_scripts’, ‘mirobo’)()
File “/home/pi/testenv/lib/python3.4/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/pi/testenv/lib/python3.4/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/pi/testenv/lib/python3.4/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/pi/testenv/lib/python3.4/site-packages/click/core.py”, line 1031, in _process_result
**ctx.params)
File “/home/pi/testenv/lib/python3.4/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/pi/testenv/lib/python3.4/site-packages/click/decorators.py”, line 63, in new_func
% object_type.name)
RuntimeError: Managed to invoke callback without a context object of type ‘Vacuum’ existing