rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances
https://python-miio.readthedocs.io
GNU General Public License v3.0
3.68k stars 552 forks source link

No status output on master branch #1893

Open jerem opened 8 months ago

jerem commented 8 months ago

Describe the bug When running a status command on my device (airqualitymonitor), nothing is printed.

Version information (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Switch to master branch
  2. 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
rytilahti commented 7 months ago

Could you try to see if there's something interesting in the debug logs (by calling miiocli --debug ...)?