python-miio
python-miio copied to clipboard
Error command miiocli roborockvacuum - File "<frozen runpy>", line 198, in _run_module_as_main and other
Describe the bug
When running the command miiocli roborockvacuum --ip <IP> --token <TOKEN> get_room_mapping, a TypeError: argument of type 'bool' is not iterable occurs. The command fails despite correct connection parameters.
Version information:
- OS: Windows 10/11
- Python: 3.11.x
- python-miio: [Provide output of
pip show python-miioormiiocli --version]
Device information:
(Complete if you can retrieve data via info)
- Model: Roborock (e.g., S5/S6/S7)
- Hardware version:
- Firmware version:
To Reproduce
Steps to reproduce the error:
- Install
python-miio:pip install python-miio
Expected behavior Expected output: A list of rooms in JSON or similar format.
Console output:
Traceback (most recent call last):
File "