iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
403 stars 167 forks source link

Add additional Fan/Fan Light settings to config schema #458

Closed scooterpsu closed 6 months ago

scooterpsu commented 7 months ago

Learned the hard way that adding a Tuya device via the HB GUI wipes any setting in that part of the config not in the schema, so I figured it was worth adding these.

I was tempted to shift SimpleFan/SimpleFanLight to use dpFan/dpLight instead of dpFanOn/dpLightOn since there's already a dpLight in the config schema, but it's a minor thing that could break more than it would fix.

05TEVE commented 6 months ago

Merging in the next release branch 3.1.2

05TEVE commented 6 months ago

I have released this now as 3.1.2-beta.1.