mikey0000 / Mammotion-HA

Home Assistant integration for Luba, Luba 2 and Yuka (Mammotion) lawn mowers
159 stars 23 forks source link

Add different min / max values for Path spacing depending on Mammotion model #125

Open Tra1n84 opened 2 months ago

Tra1n84 commented 2 months ago

The problem

Hello,

as already discussed via Discord I noticed that the lowest value which can be set for a Yuka mower at Path spacing is 20cm even if the Yuka can go down to 15cm. The maximum you can choose with the Yuka is 30cm, but with the Luba you have 35cm..

So there are some differences between all models. I can see that the Min / Max Values of Path spacing (in number.py) are currently filled with constants.

I know from dicsussion in Discord that Michael (@mikey0000) wants to pull the values differently per each model and that he is already thinking and/or working on that topic. This issue is intended to ensure that the different values per model will also taken into account for the Path spacing.

Best regards Thomas

What Mammotion mower are you using?

Yuka

What version of the Mammotion intergration are you using?

0.1.31

What version of Home Assistant Core are you running?

core-2024.9.1

mikey0000 commented 3 weeks ago

Path spacing and so on have been adjusted, model specific settings are coming.