Giter Club home page Giter Club logo

Comments (5)

MarvinWalther avatar MarvinWalther commented on August 10, 2024

I think, there has to be a /local in front of every entry. For example: /local/lib/iro.min.js.

from homeassistant-wled-card.

stefancvetkovic avatar stefancvetkovic commented on August 10, 2024

I added /local/ prefix, its the same.
this is my folder structure with files.
https://i.imgur.com/JeTBcbM.png
https://i.imgur.com/CZplQNy.png

Also, is this card can work with HA INtegration WLED? without putting any mqtt topic?

from homeassistant-wled-card.

stefancvetkovic avatar stefancvetkovic commented on August 10, 2024

https://i.imgur.com/bjT0axV.png

from homeassistant-wled-card.

daranto avatar daranto commented on August 10, 2024

Hey,

you need to edit the lovelace_resources in the .storage folder.

Change the "type": "module", to "type": "js"

After the change it should work.

  • url: /local/lib/tingle.min.css
    type: css
  • url: /local/wled_control/static/wled.css
    type: css
  • url: /local/wled_control/static/effects.js
    type: js <-- change to js in lovelace_ressources
  • url: /local/wled_control/static/fastLEDPallete.js
    type: js <-- change to js in lovelace_ressources
  • url: /local/lib/tingle.min.js
    type: js <-- change to js in lovelace_ressources
  • url: /local/lib/iro.min.js
    type: js <-- change to js in lovelace_ressources
  • url: /local/wled_control/wled_control.js
    type: module

from homeassistant-wled-card.

Shaegi avatar Shaegi commented on August 10, 2024

Since this issue seem to be resolved, I will close it.

from homeassistant-wled-card.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.