hon
hon copied to clipboard
BUG Allowed: min 1 max 3 step 1
Hi, when try to start a program on my HWPD 69AMBC/1-S (washing machine) an error occured:
Allowed: min 1 max 3 step 1
when integration set the defaults params values:
/config/custom_components/hon/device.py::start_command()
...
self.update_command(command, self.attributes["parameters"])
...
The fix is to use a min value instead trow the error here:
/config/custom_components/hon/parameter.py::106
...
raise ValueError(f"Allowed: min {self._min} max {self._max} step {self._step}")
...
to
...
self._value = self._min
...