I was thinking that my robot started to be defective, since it always forced itself
to the "vacuum and mop" mode and then complained about the missing attachment,
even though I have chose it to just vacuum.
It turns out that in the previous logic, the robot was forced to the mop and vacuum mode
if the 2 in 1 box has been available, even though the robot did not have
the mopping attachment. This commit adds a few comments to the code and
changes the logic so that it considers whether the mopping attachment is
available or not as well as the box type.
I've tested different combinations of box types and the mopping attachment,
it works on my STYJ02YM (EU).
I was thinking that my robot started to be defective, since it always forced itself to the "vacuum and mop" mode and then complained about the missing attachment, even though I have chose it to just vacuum.
It turns out that in the previous logic, the robot was forced to the mop and vacuum mode if the 2 in 1 box has been available, even though the robot did not have the mopping attachment. This commit adds a few comments to the code and changes the logic so that it considers whether the mopping attachment is available or not as well as the box type.
I've tested different combinations of box types and the mopping attachment, it works on my STYJ02YM (EU).