Giter Site home page Giter Site logo

Comments (4)

 avatar commented on May 18, 2024

Posted to the vertical-stack repo also:
ofekashery/vertical-stack-in-card#23

from mini-graph-card.

ofekashery avatar ofekashery commented on May 18, 2024

I checked it, it's a problem with this card.
You have to build the ha-card already in setConfig, and then change it when the data arrives.
It will also solve the problem at first appears "Custom element doesn't exist: mini-graph-card" for a few seconds:
image

from mini-graph-card.

kalkih avatar kalkih commented on May 18, 2024

You can't really expect custom cards to play nice with each other, however I've made some adjustments in 3d48bb5 which should solve some of the issues with using this card together with vertical-stack-in-card. There are still issues when nesting this card in a horizontal-stack inside a vertical-stack-in-card.

I checked it, it's a problem with this card.
You have to build the ha-card already in setConfig, and then change it when the data arrives.
It will also solve the problem at first appears "Custom element doesn't exist: mini-graph-card" for a few seconds:

To claim that the problem lies in this card is a bit of a stretch.
You'll see some of the same compatibility issues with custom cards like the button-card.
I don't know why I would start building the card in the setConfig function, that's not the intended use of the function..

from mini-graph-card.

kalkih avatar kalkih commented on May 18, 2024

You can now use the official Sensor Card if you are having this issues like this.
It should integrate and work better with custom cards.

from mini-graph-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.