Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
1.5.0b3
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgermain committed Jan 18, 2021
1 parent 81704f3 commit 7795590
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion multimatic/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def supported_features(self) -> int:
@property
def speed_list(self) -> list:
"""Get the list of available speeds."""
if self.coordinator.system.get_active_mode_ventilation().current == QuickModes.VENTILATION_BOOST:
if (
self.coordinator.system.get_active_mode_ventilation().current
== QuickModes.VENTILATION_BOOST
):
return self._speed_list + [QuickModes.VENTILATION_BOOST.name]
return self._speed_list

Expand Down

0 comments on commit 7795590

Please sign in to comment.