lovelace-mushroom icon indicating copy to clipboard operation
lovelace-mushroom copied to clipboard

[Bug]: Config file moved / Installation instructions are no longer correct for HASOS

Open stefandjnl opened this issue 1 year ago • 1 comments

Requirements

  • [X] I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • [X] I did a search to see if there is a similar issue or if a pull request is open.

Current Behavior

The custom cards wouldn't show up after installing via HACS so i tried to find the config file via the terminal in /config/www/mushroom.js according to the manual installation guide. The file wasn't there but was located at /config/www/community/lovelace-mushroom/mushroom.js After manually adding the location to the dashboard resources everything was working fine.

Expected Behavior

I would expect the custom card to show after installation via HACS and clearing browser cache

Steps To Reproduce

  1. Install via HACS on HASOS
  2. Clear browser cache
  3. No custom mushroom are visible
  4. There's no entry for mushroom under the Dashboard resources.

Context

YAML state


Environment

- Browser: Firefox 121.0
- HA Version: 2023.12.4
- Mushroom: 3.2.2

Anything else?

No response

stefandjnl avatar Dec 31 '23 12:12 stefandjnl

I had a similar problem on a new install of Mushroom card that showed the card could not be loaded. I fixed it by copying the resource from my old Home Assistant set-up via: Settings → Dashboards → More Options icon → Resources → Add Resource → Set Url /hacsfiles/lovelace-mushroom/mushroom.js?hacstag=444350375271 My code was slightly different 4443....52 , but the code above was listed on (https://community.home-assistant.io/t/installing-mushroom-cards/572403/11)

hampshire-al avatar Mar 27 '24 23:03 hampshire-al