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

Allow domoticz dimmer device to control LIGHT_PROVIDER_DIMMER brightness #2317

Merged
merged 2 commits into from
Aug 13, 2020

Conversation

m-kozlowski
Copy link
Contributor

I'm running simple 1-channel led dimmer and couldn't get brightness control working, as it was called only if lightHasColor().
This PR changes conditions slightly, and allows domoticz's dimmer device to control brightness as well. I think this device type is more appropriate/comfortable in this case.

mkozlowski and others added 2 commits August 11, 2020 23:31
As codacy points out, move stype and switchType to the LIGHT_PROVIDER != NONE block
@mcspr mcspr merged commit ff1c9e4 into xoseperez:dev Aug 13, 2020
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

Successfully merging this pull request may close these issues.

2 participants