Remove evohome hvac_action as it is inaccurate (#38244)
This commit is contained in:
parent
818949abd9
commit
26bb604243
1 changed files with 0 additions and 16 deletions
|
@ -5,9 +5,6 @@ from typing import List, Optional
|
||||||
|
|
||||||
from homeassistant.components.climate import ClimateEntity
|
from homeassistant.components.climate import ClimateEntity
|
||||||
from homeassistant.components.climate.const import (
|
from homeassistant.components.climate.const import (
|
||||||
CURRENT_HVAC_HEAT,
|
|
||||||
CURRENT_HVAC_IDLE,
|
|
||||||
CURRENT_HVAC_OFF,
|
|
||||||
HVAC_MODE_AUTO,
|
HVAC_MODE_AUTO,
|
||||||
HVAC_MODE_HEAT,
|
HVAC_MODE_HEAT,
|
||||||
HVAC_MODE_OFF,
|
HVAC_MODE_OFF,
|
||||||
|
@ -200,19 +197,6 @@ class EvoZone(EvoChild, EvoClimateEntity):
|
||||||
is_off = self.target_temperature <= self.min_temp
|
is_off = self.target_temperature <= self.min_temp
|
||||||
return HVAC_MODE_OFF if is_off else HVAC_MODE_HEAT
|
return HVAC_MODE_OFF if is_off else HVAC_MODE_HEAT
|
||||||
|
|
||||||
@property
|
|
||||||
def hvac_action(self) -> Optional[str]:
|
|
||||||
"""Return the current running hvac operation if supported."""
|
|
||||||
if self._evo_tcs.systemModeStatus["mode"] == EVO_HEATOFF:
|
|
||||||
return CURRENT_HVAC_OFF
|
|
||||||
if self.target_temperature <= self.min_temp:
|
|
||||||
return CURRENT_HVAC_OFF
|
|
||||||
if not self._evo_device.temperatureStatus["isAvailable"]:
|
|
||||||
return None
|
|
||||||
if self.target_temperature <= self.current_temperature:
|
|
||||||
return CURRENT_HVAC_IDLE
|
|
||||||
return CURRENT_HVAC_HEAT
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def target_temperature(self) -> float:
|
def target_temperature(self) -> float:
|
||||||
"""Return the target temperature of a Zone."""
|
"""Return the target temperature of a Zone."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue