Skip to content

Commit

Permalink
feat: add 311i max model to fan count
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlb committed Nov 29, 2024
1 parent 12b58e5 commit 3147990
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def speed_count(self) -> int:
"""Return the max fan speed."""
if self.model == ModelEnum.HUMIDIFIER_I35:
return 64
elif self.model == ModelEnum.PROTECT_7470I:
elif self.model in [ModelEnum.MAX_311I, 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.1"],
"requirements": ["blueair-api==1.13.0"],
"version": "1.10.3"
}
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.1
blueair-api==1.13.0

0 comments on commit 3147990

Please sign in to comment.