Skip to content

Allow setting brightness values via config - #422

Open
davidbanham wants to merge 1 commit into
iRayanKhan:mainfrom
davidbanham:main
Open

Allow setting brightness values via config#422
davidbanham wants to merge 1 commit into
iRayanKhan:mainfrom
davidbanham:main

Conversation

@davidbanham

Copy link
Copy Markdown

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

05TEVE commented Jan 18, 2024

Copy link
Copy Markdown
Collaborator

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.

2 participants