Question: What does 'Enable heuristic action' mean? #428
-
There is an option when configuring climate entity called "(Optional) Enable heuristic action". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To be honest this was existed from upstream I don't really known what uses cases for this. From the code it seems that this only ignore device action reported or if the device doesn't have action DP. basically if the temperature equal targeted temp it will be heating or idle if mode is idle. if self._hvac_mode == HVACMode.HEAT:
if self._current_temperature < (self._target_temperature - self._precision):
self._hvac_action = HVACMode.HEAT
if self._current_temperature == (self._target_temperature - self._precision):
if self._hvac_action == HVACMode.HEAT:
self._hvac_action = HVACMode.HEAT
if self._hvac_action == HVACAction.IDLE:
self._hvac_action = HVACAction.IDLE
if (self._current_temperature + self._precision) > self._target_temperature:
self._hvac_action = HVACAction.IDLE |
Beta Was this translation helpful? Give feedback.
To be honest this was existed from upstream I don't really known what uses cases for this.
From the code it seems that this only ignore device action reported or if the device doesn't have action DP.
it sets the hvac action based on the current mode/temperatures
basically if the temperature equal targeted temp it will be heating or idle if mode is idle.
And if current temp is bigger then it will IDLE.