Skip to content

Commit

Permalink
Climate: fix typo in function name hvac_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DasBasti committed Jul 31, 2024
1 parent 28ead86 commit ee632ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/smarthashtag/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class SmartConditioningMode(ClimateEntity):
)
_attr_entity_category = EntityCategory.CONFIG
_attr_has_entity_name = True
_attr_should_poll = False
_attr_icon = "mdi:thermostat-auto"
_enable_turn_on_off_backwards_compatibility = False

Expand All @@ -54,7 +53,7 @@ def translation_key(self):
return "car_climate"

@property
def hcav_mode(self) -> HVACMode:
def hvac_mode(self) -> HVACMode:
"""Return hvac operating mode: heat, cool"""
if self._vehicle.climate.get("pre_climate_active", False):
return HVACMode.HEAT_COOL
Expand Down

0 comments on commit ee632ee

Please sign in to comment.