zacs / ha-dualmodegeneric

Generic thermostat capable of heating and cooling
68 stars 26 forks source link

Check temperature range instead of target temperature when in heat_cool mode #59

Closed Excentyl closed 9 months ago

Excentyl commented 9 months ago

The PR I completed earlier introduced an issue since I missed removing the check on the target_temp when controlling the heater/cooler entities. Now that the target_temp has been unset for heat_cool mode, we need to instead check target_temp_low and target_temp_high.

This is a PR to fix this issue. Sorry about that!

zacs commented 9 months ago

Thanks for the quick fix!