Skip to content

Commit afcbf77

Browse files
committed
Fix bypass attribute value
1 parent 29c0f48 commit afcbf77

File tree

1 file changed

+1
-1
lines changed
  • custom_components/easycontrols

1 file changed

+1
-1
lines changed

custom_components/easycontrols/fan.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ async def async_update(self):
212212
standby_mode = self._controller.get_variable(VARIABLE_STANDBY_MODE, 1, int)
213213
holiday_mode = self._controller.get_variable(VARIABLE_HOLIDAY_MODE, 1, int)
214214

215-
bypass = self._controller.get_variable(VARIABLE_BYPASS, 1, bool)
215+
bypass = self._controller.get_variable(VARIABLE_BYPASS, 1, int) == 1
216216

217217
if party_mode == 1:
218218
preset_mode = PRESET_PARTY

0 commit comments

Comments
 (0)