PiotrMachowski / lovelace-xiaomi-vacuum-map-card

This card provides a user-friendly way to fully control map-based vacuums in Home Assistant. Supported brands include Xiaomi (Roborock/Viomi/Dreame/Roidmi/Valetudo/Valetudo RE), Neato, Wyze, Roomba, Ecovacs (and probably more).
MIT License
1.48k stars 254 forks source link

More and more "Rooms" entries in the dropdown list when creating a new "Xiaomi Vacuum Map Card" after change Roborock App Maps #728

Closed LHBL2003 closed 7 months ago

LHBL2003 commented 7 months ago

Checklist

The problem

I have customized the rooms in the Roborockapp. Since then I get more and more "Rooms" entries in the dropdown list when creating a new "Xiaomi Vacuum Map Card". Every time I customize the room map in the Roborock app, there are more and more entries when generating.

I have already uninstalled the HACS "humbertogontijo/homeassistant-roborock" and "Xiaomi Vacuum Map Card" and restarted HA properly. But the list does not get shorter when I create a new "Xiaomi Vacuum Map Card" and generate the rooms again.

The list for the living room is now so long that the map is no longer displayed.

IMG_0026

IMG_0027

What version of a card has described problem?

V2.2.2

What was the last working version card?

No response

What vacuum model do you have problems with?

roborock.vacuum.a27

Which integration do you use to control your vacuum (link)?

https://github.com/humbertogontijo/homeassistant-roborock

What browser (browsers/apps) does have this problem?

Safari,Google Chrome

What version of Home Assistant do you use?

2024.4.4

What type of installation are you running?

Home Assistant OS

Card's configuration

Comment is too long (maximum is 65536 characters)

Javascript errors shown in the browser's console (if applicable)

No response

Additional information

No response

PiotrMachowski commented 7 months ago

Is a new entry created when you click "Generate rooms config"?

LHBL2003 commented 7 months ago

No, if I repeat the generation, the number remains the same.

But if I go into the Roborock app and change the map and initialise the Roborock HACK in HA. Then the number increases as soon as I recreate the map and generate it again.

I did the whole thing on an iPad Pro. I also deleted the browser cache. Now I have tried it on my MacBook Pro. The error does not occur there.

LHBL2003 commented 7 months ago

Ok, it must be some kind of cache problem. I have now used incognito mode on the iPad Pro and don't have the problem there either. I made sure that I didn't just delete the cache for the last hour :D

PiotrMachowski commented 7 months ago

That's a weird caching error 👍

LHBL2003 commented 7 months ago

It will probably be reproducible on an iPad Pro. I noticed this a few weeks ago. I almost didn't dare to create an artificial room for the hoover on the upper floor because I already had the problem on the ground floor :D