Skip to content

Commit

Permalink
Removed hvac_action from climate.py (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenbos authored Oct 29, 2023
1 parent b371631 commit 976954f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions custom_components/alpha_innotec/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,6 @@ async def async_set_temperature(self, **kwargs) -> None:
await self.hass.async_add_executor_job(self.api.set_temperature, self.thermostat.identifier, temp)
self._target_temperature = temp

@property
def hvac_action(self) -> HVACAction | None:
if not self.thermostat.cooling_enabled:
return None

if self.thermostat.cooling:
return HVACAction.COOLING

return HVACAction.HEATING

@property
def hvac_mode(self) -> HVACMode | None:
"""Return current hvac mode."""
Expand Down

0 comments on commit 976954f

Please sign in to comment.