Open davidbanham opened 11 months ago
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).
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.