zacs / ha-dualmodegeneric

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

No longer set _target_temp to None #64

Closed Excentyl closed 7 months ago

Excentyl commented 7 months ago

This change makes it so that _target_temp is no longer set to None, instead it sets the target_temperature property to None when in heat/cool mode.

The hope is that this fixes the issue seen in #60 .

Also added some extra logic such that the target temperature will attempt to stay in line with the min and max targets to allow seamless switching between the different modes.

zacs commented 7 months ago

Thank you for the fix!