[go: nahoru, domu]

Skip to content

Commit

Permalink
also update heat exchanger fan according to 6b35204 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudrainstar committed Jun 8, 2024
1 parent c8dfa5a commit 0bf3e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/jcihitachi_tw/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ def unique_id(self):
def calculate_supported_features(self):
support_flags = 0
if self._thing.support_code.FanSpeed != "unsupported":
support_flags |= SUPPORT_SET_SPEED
support_flags |= FanEntityFeature.SET_SPEED
if self._thing.support_code.BreathMode != "unsupported":
support_flags |= SUPPORT_PRESET_MODE
support_flags |= FanEntityFeature.PRESET_MODE

return support_flags

Expand Down

0 comments on commit 0bf3e2b

Please sign in to comment.