Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fan.xiaomi_miio_set_led_brightness doesn't work #8

Closed
jacekpaszkowski opened this issue Jun 4, 2018 · 7 comments
Closed

fan.xiaomi_miio_set_led_brightness doesn't work #8

jacekpaszkowski opened this issue Jun 4, 2018 · 7 comments

Comments

@jacekpaszkowski
Copy link

Im' running latest version of component, when i invoke fan.xiaomi_miio_set_led_brightness nothing happens. "led_brightness" value doesn't change and no messages in log

@syssi
Copy link
Owner

syssi commented Jun 4, 2018

Which version (model) of the fan do you have?

@jacekpaszkowski
Copy link
Author

model: zhimi.fan.v3

@syssi
Copy link
Owner

syssi commented Jun 4, 2018

Please enable the debug log:

# configuration.yaml
logger:
  default: warn
  logs:
    custom_components.fan.xiaomi_miio_fan: debug
    miio: debug

Restarte HA, toggle the different LED brightness values and provide the content of your home-assistant.log. It should contain the communication with the device (all requests & responses).

@jacekpaszkowski
Copy link
Author

I'll check it in the moment.

BTW. on startup i still get this error in log:

Count (17) of requested properties does not match the count (16) of received values.
22:24 deps/lib/python3.6/site-packages/miio/fan.py (ERROR)

@syssi
Copy link
Owner

syssi commented Jun 4, 2018

Good to know. This isn't fine, too. ;-)

@jacekpaszkowski
Copy link
Author

ok, i don't know why but fan.xiaomi_miio_set_led_brightness works now (mabye my mistake or some other test interference), but also after each call i also get:

Count (17) of requested properties does not match the count (16) of received values.
22:27 deps/lib/python3.6/site-packages/miio/fan.py (ERROR)

@syssi
Copy link
Owner

syssi commented Jun 5, 2018

I've fixed the "requested properties doesn't match" issue on upstream (python-miio). You can ignore this error for now.

@syssi syssi closed this as completed Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants