Skip to content

Commit

Permalink
ignore mypy [attr-defined] & [no-redef] due to unfixed issue in mypy: p…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mausy5043 committed Dec 15, 2024
1 parent fa785f8 commit 7ed6b7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/libdaikin/libdaikin.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,27 +313,27 @@ def fan_direction(self):
"""
return int(self._get_control()["f_dir"])

@power.setter
@power.setter # type: ignore
def power(self, value):
self._control_set("pow", value)

@target_temperature.setter
@target_temperature.setter # type: ignore
def target_temperature(self, value):
self._control_set("stemp", value)

@target_humidity.setter
@target_humidity.setter # type: ignore
def target_humidity(self, value):
self._control_set("shum", value)

@mode.setter
@mode.setter # type: ignore
def mode(self, value):
self._control_set("mode", value)

@fan_rate.setter
@fan_rate.setter # type: ignore
def fan_rate(self, value):
self._control_set("f_rate", value)

@fan_direction.setter
@fan_direction.setter # type: ignore
def fan_direction(self, value):
self._control_set("f_dir", value)

Expand Down

0 comments on commit 7ed6b7f

Please sign in to comment.