Skip to content

Commit

Permalink
Heatmode is a tristate on a BP2100 spa, so deal with the fact it
Browse files Browse the repository at this point in the history
might be a "2".
  • Loading branch information
garbled1 committed May 24, 2020
1 parent 41fdf80 commit 09953f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/balboa/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def hvac_mode(self) -> str:
def hvac_action(self) -> str:
"""Return the current operation mode."""
state = self._client.get_heatstate()
if state == self._client.ON:
if state >= self._client.ON:
return CURRENT_HVAC_HEAT
return CURRENT_HVAC_IDLE

Expand Down

0 comments on commit 09953f2

Please sign in to comment.