Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielhiversen authored Sep 17, 2020
1 parent be7640a commit 54c3c26
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions custom_components/adax/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ def name(self):

@property
def hvac_mode(self):
"""Return hvac operation ie. heat, cool mode.
Need to be one of HVAC_MODE_*.
"""
"""Return hvac operation ie. heat, cool mode."""
if self._heater_data["heatingEnabled"]:
return HVAC_MODE_HEAT
return HVAC_MODE_OFF
Expand All @@ -87,9 +85,7 @@ def icon(self):

@property
def hvac_modes(self):
"""Return the list of available hvac operation modes.
Need to be a subset of HVAC_MODES.
"""
"""Return the list of available hvac operation modes."""
return [HVAC_MODE_HEAT, HVAC_MODE_OFF]

async def async_set_hvac_mode(self, hvac_mode):
Expand Down

0 comments on commit 54c3c26

Please sign in to comment.