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 setting brightness values via config #422

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidbanham
Copy link

This takes in minBrightness, maxBrightness and brightnessStep from the config file.

By using the standard convertBrightnessFromHomeKitToTuya function it also respects the value of scaleBrightness if it is set.

This allows the same accessory code to be used for both the Arlec Grid Connect Ceiling Fan and the Deta Grid Connect Smart Fan Speed Controller.

@05TEVE
Copy link
Collaborator

05TEVE commented Jan 18, 2024

Hi @davidbanham, would it be possible to rebase this against the 3.1.0 branch and update the config-schema for this? Looking to pull this into the 3.1.0 release i am going to push out in the next few weeks (currently in beta).

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.

None yet

2 participants