ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

correction brightness range in white mode to 1-255 #35

Closed nao-pon closed 4 years ago

nao-pon commented 4 years ago

As far as I can tell, the brightness range in white mode seems to be 1-255.

ollo69 commented 4 years ago

This is not a rule!. I have a light that have range 10-1000. If we change in this way we broke for all the other. Need further investigation.

nao-pon commented 4 years ago

@ollo69 Yes, I understand. The brightness range is not included in the API response, so I think we need to be able to specify it as an option.

ollo69 commented 4 years ago

Yes, but should be something simple, like type 0 and type 1, hoping in limited case. I think that ask to the user to specify the brightness range used by their bulb will just create errors and confusion...

ollo69 commented 4 years ago

I close this PR because outdated