Spelling fixes (#25666)
This commit is contained in:
parent
2f7c57b257
commit
a54ade1189
38 changed files with 52 additions and 52 deletions
|
@ -69,7 +69,7 @@ class HMThermostat(HMDevice, ClimateDevice):
|
|||
if self.target_temperature <= self._hmdevice.OFF_VALUE + 0.5:
|
||||
return HVAC_MODE_OFF
|
||||
if "MANU_MODE" in self._hmdevice.ACTIONNODE:
|
||||
if self._hm_controll_mode == self._hmdevice.MANU_MODE:
|
||||
if self._hm_control_mode == self._hmdevice.MANU_MODE:
|
||||
return HVAC_MODE_HEAT
|
||||
return HVAC_MODE_AUTO
|
||||
|
||||
|
@ -95,7 +95,7 @@ class HMThermostat(HMDevice, ClimateDevice):
|
|||
return "boost"
|
||||
|
||||
# Get the name of the mode
|
||||
mode = HM_ATTRIBUTE_SUPPORT[HM_CONTROL_MODE][1][self._hm_controll_mode]
|
||||
mode = HM_ATTRIBUTE_SUPPORT[HM_CONTROL_MODE][1][self._hm_control_mode]
|
||||
mode = mode.lower()
|
||||
|
||||
# Filter HVAC states
|
||||
|
@ -173,7 +173,7 @@ class HMThermostat(HMDevice, ClimateDevice):
|
|||
return 0.5
|
||||
|
||||
@property
|
||||
def _hm_controll_mode(self):
|
||||
def _hm_control_mode(self):
|
||||
"""Return Control mode."""
|
||||
if HMIP_CONTROL_MODE in self._data:
|
||||
return self._data[HMIP_CONTROL_MODE]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue