Code Monkey home page Code Monkey logo

Comments (3)

tuga49 avatar tuga49 commented on September 17, 2024

If I do this way, it dont flick and loads css instantlly. In docs it says to avoid this. If followed some examples here: https://github.com/thomasloven/lovelace-card-mod/blob/master/src/example.yaml and it flicks. The only way I find is this way. Any one can explain what i'm doing wrong?

title: Home
icon: 'mdi:home'
path: home

cards:
  - type: custom:mod-card
    card:
      type: vertical-stack
      cards:
        - type: entities
          style: |
            ha-card {
              border-radius: 15px;
              border: 1px solid green;
              background-color: yellow;
            }
          entities:
            - entity: binary_sensor.xxxxxxxxxxxxxxxxxxxxxxxxx
            - entity: binary_sensor.xxxxxxxxxxxxxxxxxxxxxxxxx

Thank's

from lovelace-card-mod.

m1ke-hub avatar m1ke-hub commented on September 17, 2024

Did you find another solution or is the custom:mod-card the way to go (for now hopefully)?

from lovelace-card-mod.

tuga49 avatar tuga49 commented on September 17, 2024

Did you find another solution or is the custom:mod-card the way to go (for now hopefully)?

I use some custom cards but ot continue flicking. I can't find any solution. I tried use custom cards locally but it happens, so I think it should be normal :(

from lovelace-card-mod.

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.