Fixing Support for H-WASHER 500 #5

Merged
alexandre-leites merged 3 commits from main into main 2023-03-14 18:30:30 +01:00
Showing only changes of commit fde41ac456 - Show all commits

View File

@ -75,6 +75,7 @@ class HonParameterRange(HonParameter):
@value.setter
def value(self, value):
value = int(value)
if self._min <= value <= self._max and not value % self._step:
self._value = value
else: