Skip to content

Commit

Permalink
fix: correct speed count for protect model fan
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlb committed Nov 28, 2024
1 parent 57f645c commit 10d7711
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def speed_count(self) -> int:
"""Return the max fan speed."""
if self.model == ModelEnum.HUMIDIFIER_I35:
return 64
elif self.model == ModelEnum.PROTECT_7470I:
return 91
else:
return 100

Expand Down
2 changes: 1 addition & 1 deletion custom_components/ha_blueair/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"documentation": "https://github.com/dahlb/ha_blueair",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/dahlb/ha_blueair/issues",
"requirements": ["blueair-api==1.12.0"],
"requirements": ["blueair-api==1.12.1"],
"version": "1.10.1"
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
homeassistant==2024.8.0
ruff==0.8.0
blueair-api==1.12.0
blueair-api==1.12.1

0 comments on commit 10d7711

Please sign in to comment.