iRayanKhan / homebridge-tuya

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

SimpleHeater: no need for targetTemperatureDivisor #467

Open lisanet opened 1 month ago

lisanet commented 1 month ago

In SimpleHeater there's no need for targetTemperatureDivisor.

Instead just use _getDividedState()

This should also make configuration more clearly, beacaus it's not very obvious what the difference is between targetTemperatureDivisor and thersholdTemperatureDivisor.