Giter Club home page Giter Club logo

Comments (8)

Lau-ie avatar Lau-ie commented on June 18, 2024

Confirmed broken in 106 with error:
Cannot add property tap_action, object is not extensible

from flex-horseshoe-card.

thomasloven avatar thomasloven commented on June 18, 2024

A workaround might be to add

tap_action:
  action: more-info

to every entity.

from flex-horseshoe-card.

Lau-ie avatar Lau-ie commented on June 18, 2024

Thank you! That works....

from flex-horseshoe-card.

Lau-ie avatar Lau-ie commented on June 18, 2024

I have to take back my earlier comment. Seemd to be some caching going on in my browser which made it seem like it worked.

The Card now doesn't render at all and throws error:
TypeError: Cannot add property entity_index, object is not extensible

In the console

from flex-horseshoe-card.

Lau-ie avatar Lau-ie commented on June 18, 2024

I've made a pull request with a small modification to make the card 0.106.x compatible.

Confirmed working on my install, see branch: 0.106.x-compatibility

from flex-horseshoe-card.

genem2 avatar genem2 commented on June 18, 2024

Not sure what my problem is, but I downloaded your .js file, as well as added that one line in the original file, after the setConfig(config) { line. Played with the ?v=999, nothing helps. I'm also getting the following in the HA log:

[frontend.js.latest.202002205] <my_HA>/lovelace/system:0:0 Uncaught

Just confirming: this is affecting all 106.x users, right?
Tnx

from flex-horseshoe-card.

Lau-ie avatar Lau-ie commented on June 18, 2024

Sorry to hear youy guys are still having problems. I'm currently running Home Assistant 0.106.4 and have working horseshoes.

Only changes I made are the single modified line in the .js file and adding:

        tap_action:
          action: more-info

To every entity in the horseshoe config.

you could login in an incognito window/other browser to see if there really isn't a problem with any caching. But other then that I'm at a loss.....

from flex-horseshoe-card.

Lau-ie avatar Lau-ie commented on June 18, 2024

Some other users on the Community forum found the probable reason for it not working:

UPDATE:
Done!!! I made the change on flex-horseshoe-card.js, then deleted the flex-horseshoe-card.gz. If you don’t delete the gz file, browser still uses the gzipped version. After that i pressed Ctrl+F5 in firefox. Voila… everything works fine now… thanks a lot @postnl

from flex-horseshoe-card.

Related Issues (20)

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.