mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
[climate] Correct evohome hvac_action (#25407)
* inital commit * take account of rounding up of curr_temp
This commit is contained in:
parent
9fc4b878e2
commit
e2e7d39527
@ -193,9 +193,9 @@ class EvoZone(EvoClimateDevice):
|
|||||||
return CURRENT_HVAC_OFF
|
return CURRENT_HVAC_OFF
|
||||||
if self.target_temperature <= self.min_temp:
|
if self.target_temperature <= self.min_temp:
|
||||||
return CURRENT_HVAC_OFF
|
return CURRENT_HVAC_OFF
|
||||||
if self.target_temperature <= self.current_temperature:
|
if self.target_temperature < self.current_temperature:
|
||||||
return CURRENT_HVAC_HEAT
|
return CURRENT_HVAC_IDLE
|
||||||
return CURRENT_HVAC_IDLE
|
return CURRENT_HVAC_HEAT
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def current_temperature(self) -> Optional[float]:
|
def current_temperature(self) -> Optional[float]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user