homebridge-tuya icon indicating copy to clipboard operation
homebridge-tuya copied to clipboard

Add heating capacity support for SimpleHeaterAccessory

Open valentindusollier opened this issue 1 year ago • 0 comments

The current implementation of SimpleHeater always set the characteristic CurrentHeaterCoolerState to HEATING even when the desired temperature is below the current one. In this commit, the heater is set to IDLE in this case. Moreover, some heater provides their current heating capacity. If the corresponding data point is set in the config, the characteristic CurrentHeaterCoolerState value changes between HEATING and IDLE according to the heating capacity.

valentindusollier avatar Jun 21 '23 19:06 valentindusollier