homeassistant-roborock icon indicating copy to clipboard operation
homeassistant-roborock copied to clipboard

It would be nice to use consistent naming ...

Open kbrown01 opened this issue 1 year ago • 0 comments

I had an issue trying to implement "repeat" for cleaning segments and realized that the variable is called "repeats" which the Roborock uses "repeat" for the message ... that can be seen here:

        if repeats is not None:
            params = [{"segments": segments, "repeat": repeats}]

While "segments" IS "segments" ... "repeat" is actually "repeats"

kbrown01 avatar Oct 24 '23 21:10 kbrown01