iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
380 stars 160 forks source link

Make MultiState requests optional on Fan accessory #464

Closed ThisIsQasim closed 2 months ago

ThisIsQasim commented 2 months ago

With the recent changes, I can expose a SimpleDimmerAccessory as a Fan with a small patch thereby closing the need for #405

Sample config:

{
    "type": "Fan",
    "name": "Fan",
    "maxSpeed": 100,
    "fanDefaultSpeed": 0,
    "dpRotationSpeed": 2,
    "useStrings": false,
    "useMultiState": false
}
05TEVE commented 2 months ago

Hi @ThisIsQasim, thanks for the contribution! I have swapped the base branch for the 3.1.2 branch and will merge it into that. Once merged i will push this out as a beta for testing.

ThisIsQasim commented 2 months ago

Thanks for merging it in and also for breathing new life into this plugin