rytilahti / python-miio

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

[miio.airconditioningcompanion] Unsupported LED state: B #1548

Open hoanglongutc opened 2 years ago

hoanglongutc commented 2 years ago

Describe the bug I get the following warning in the log: 2022-10-11 08:13:48.433 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:49.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:50.440 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:51.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:52.445 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:53.487 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B Version information (please complete the following information):

Device information: If the issue is specific to a device [Use miiocli device --ip <ip address> --token <token> info]:

To Reproduce Steps to reproduce the behavior: I get the following warning in the log: 2022-10-11 08:13:48.433 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:49.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:50.440 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:51.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:52.445 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:53.487 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B

Expected behavior I get the following warning in the log: 2022-10-11 08:13:48.433 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:49.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:50.440 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:51.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:52.445 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:53.487 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B

Console output I get the following warning in the log: 2022-10-11 08:13:48.433 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:49.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:50.440 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:51.437 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:52.445 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B 2022-10-11 08:13:53.487 INFO (MainThread) [miio.airconditioningcompanion] Unsupported LED state: B

rytilahti commented 2 years ago

What's the state of the led when this happens? Is it bright? Could you also try changing the brightness using the official app to see if the other modes are also giving out errors?

hoanglongutc commented 2 years ago

I'm using this: https://miot-global.com/sockets-and-sensors/xiaomi-aqara-air-conditioning-companion-temperature-humidity-sensor/ LED status is not supported