Remove hvac_action for Somfy Thermostat (#73776)
This commit is contained in:
parent
ad2a41f774
commit
c674af3ba1
1 changed files with 0 additions and 10 deletions
|
@ -11,7 +11,6 @@ from homeassistant.components.climate.const import (
|
|||
PRESET_HOME,
|
||||
PRESET_NONE,
|
||||
ClimateEntityFeature,
|
||||
HVACAction,
|
||||
HVACMode,
|
||||
)
|
||||
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS
|
||||
|
@ -83,15 +82,6 @@ class SomfyThermostat(OverkizEntity, ClimateEntity):
|
|||
)
|
||||
]
|
||||
|
||||
@property
|
||||
def hvac_action(self) -> str:
|
||||
"""Return the current running hvac operation if supported."""
|
||||
if not self.current_temperature or not self.target_temperature:
|
||||
return HVACAction.IDLE
|
||||
if self.current_temperature < self.target_temperature:
|
||||
return HVACAction.HEATING
|
||||
return HVACAction.IDLE
|
||||
|
||||
@property
|
||||
def preset_mode(self) -> str:
|
||||
"""Return the current preset mode, e.g., home, away, temp."""
|
||||
|
|
Loading…
Add table
Reference in a new issue