-
Notifications
You must be signed in to change notification settings - Fork 568
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
Changing the brightness parameter. #73
Comments
Yeah, this has been reported on the community forums as well and we should definitely fix this. I have not started yet, so if anyone wants to do that feel free to do so. |
Please give #80 and try, it should solve this i hope. You can specify lower and upper limits and the value from home assistant (0-255) will be mapped to this range. |
In the latest version, I get this error. Source: custom_components/localtuya/light.py:91 Error doing job: Task exception was never retrieved |
When adding the device, I did not configure "COLOR_TEMP", left this field empty and now EVERYTHING works as it should, without errors. )) |
Yeah, I'm using the approach that if you configure something it is assumed to be supported by the device (since we can't really deduce that in a decent way). In the future you will be able to unset options so you don't have to remove and re-add. But that's how it works now. |
Also, maybe we can close this issue then? |
Hi, I have a Tuya dimmer in which the brightness is 0-1000, but the integration allows you to change the brightness only from 0-255 and the lamp glows dimly. can I add the ability to change this parameter ?
dps: { '20': false, '21': 'white', '22': 1000, '26': 0 }
The text was updated successfully, but these errors were encountered: