AnthonMS / my-cards

Bundle of my custom Lovelace cards for Home Assistant. Includes: my-slider, my-slider-v2, my-button
Other
96 stars 26 forks source link

[Bug]: Custom element doesn't exists custom:my-slider-v2 #57

Open salvatore-disavio opened 1 month ago

salvatore-disavio commented 1 month ago

Current Behavior

image

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Node:
- Version:
- Hassio:

Anything else?

No response

AnthonMS commented 1 month ago

Then install it?

salvatore-disavio commented 1 month ago

Yes

AnthonMS commented 1 month ago

You can check the web console when refreshing your Home Assistant dashboard. If it is installed correctly, it should print the version in the logs.

salvatore-disavio commented 1 month ago

image

JoostSaanen commented 1 month ago

I had the same issue, but mine was not added as resource in the dashboard:

  1. Go to the Lovelace Dashboard Configuration: • Click on the three dots (...) in the upper-right corner of your dashboard. • Select Edit Dashboard or Configure UI from the dropdown menu.
  2. Access the Resources Section: • Click on the three dots (...) again in the top-right corner. • Select Resources from the menu. This will open a list of all currently loaded resources (scripts/modules).
  3. Add a New Resource: • Click on the + ADD RESOURCE button at the bottom of the Resources page. • In the URL field, enter /local/my-slider-v2.js. • Choose JavaScript from the Type dropdown menu.
  4. Save: • Click Save to add the new resource.

Hope this helps.

AnthonMS commented 4 days ago

Has this been resolved?

It looks like there are a lot of custom cards not being loaded correctly in the screenshot?

I apologize for the delayed response. I have been afraid to update my HA if it is because of compatibility issues with a HA update.