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

using "brightness_percent" returns wrong state #902

Closed
andreasbrett opened this issue Jan 20, 2019 · 4 comments
Closed

using "brightness_percent" returns wrong state #902

andreasbrett opened this issue Jan 20, 2019 · 4 comments

Comments

@andreasbrett
Copy link
Contributor

Prerequisite:

  • zigbee2mqtt on branch DEV with commit a2ea9c5 (Jan 7, 2019 18:18:14)
  • paired IKEA TRADFRI bulb is OFF

Scenario #1 (working):

  • sending { "brightness": 204 } will...
  • set the bulb to brightness level 204 (of 255)
  • turn ON the light
  • return {"state":"ON","brightness":204,"last_seen":"2019-01-20T15:55:06.921Z"}

Scenario #2 (NOT working):

  • sending { "brightness_percent": 80 ] will...
  • set the bulb to brightness level 204 (of 255)
  • turn ON the light
  • return {"state":"OFF","brightness":204,"last_seen":"2019-01-20T15:55:45.957Z"}

Could you please check why this is happening? The bulb turns on in both cases but through MQTT a "state = OFF" is reported when using the new "brightness_percent" attribute.

@andreasbrett
Copy link
Contributor Author

Just tested with latest DEV commit e21bfc1 but still the same issue.

@Koenkk
Copy link
Owner

Koenkk commented Jan 21, 2019

Can you check if this has been fixed in the dev branch?

@andreasbrett
Copy link
Contributor Author

Yes, this is fixed now.

@Koenkk
Copy link
Owner

Koenkk commented Jan 21, 2019

Thanks for reporting!

wilmardo pushed a commit to wilmardo/zigbee2mqtt that referenced this issue Sep 26, 2019
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