From 7ed6b7f86915ba2c76a956ffb7ec4419a0d190c1 Mon Sep 17 00:00:00 2001 From: "Maurice (mausy5043) Hendrix" Date: Sun, 15 Dec 2024 11:04:55 +0100 Subject: [PATCH] ignore mypy [attr-defined] & [no-redef] due to unfixed issue in mypy: https://github.com/python/mypy/issues/1465 --- bin/libdaikin/libdaikin.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/libdaikin/libdaikin.py b/bin/libdaikin/libdaikin.py index 745d68a..e5086d8 100755 --- a/bin/libdaikin/libdaikin.py +++ b/bin/libdaikin/libdaikin.py @@ -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)