python-miio
python-miio copied to clipboard
No status output on master branch
Describe the bug
When running a status
command on my device (airqualitymonitor), nothing is printed.
Version information (please complete the following information):
- OS: Linux
- python-miio: master branch 0.6.0.dev0 (658ee2e82e54233372f19e4f67bbf055b60eaee4)
To Reproduce Steps to reproduce the behavior:
- Switch to master branch
-
poetry run miiocli airqualitymonitor --token XXX --ip XXX status
Expected behavior Status output is printed as it used to be with version 0.5.2
Console output
$ git checkout master
$ poetry run miiocli airqualitymonitor --token XXXX --ip 10.150.6.24 status
$ git checkout 0.5.12
$ poetry run miiocli airqualitymonitor --token XXXX --ip 10.150.6.24 status
Power: on
USB power: True
Battery: 100
AQI: 35
Temperature: None
Humidity: None
CO2: None
CO2e: None
PM2.5: None
TVOC: None
Display clock: False
Could you try to see if there's something interesting in the debug logs (by calling miiocli --debug ...
)?