Skip to content

Commit

Permalink
chore: ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlb committed Aug 8, 2023
1 parent 135a018 commit 77ad2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def fan_speed(self) -> int:
return self.blueair_api_device.fan_speed

@property
def is_on(self) -> bool():
def is_on(self) -> False:
"""Return the current fan state."""
return self.blueair_api_device.running

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def fan_speed(self) -> int:
return int(self.blueair_api_device.fan_speed)

@property
def is_on(self) -> bool():
def is_on(self) -> False:
"""Return the current fan state."""
if self.fan_speed == 0:
return False
Expand Down

0 comments on commit 77ad2ec

Please sign in to comment.