PiotrMachowski/lovelace-xiaomi-vacuum-map-card

Having trouble Installing the map card, specifying the resource url

VrtlBrown opened this issue · 2 comments

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

Hi I've installed the card via HACS, the full path of the files I installed is:
/volume1/docker/homeassistant/config/www/community/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js

But no matter what I insert into the resource url field it wont load the card on the dashboard.

What should I use for the url?

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?

S6 maxV

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

https://www.home-assistant.io/integrations/xiaomi_miio/

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

Safari

What version of Home Assistant do you use?

2024.1.6

What type of installation are you running?

Home Assistant Container

Card's configuration

Haven't got this far yet

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

No response

Additional information

No response

@VrtlBrown ,The path should be something like:

/config/www/community/custom_lovelace/xiaomi-vacuum-map-card.js

the same goes in the resources but there www need to be replaced with local

/local/custom_lovelace/xiaomi-vacuum-map-card.js

hope this helps

If you installed it with HACS then it should automatically add it to resources. If not, it should be something like this:

/hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js?hacstag=331701152204