Giter VIP home page Giter VIP logo

Comments (6)

ildar170975 avatar ildar170975 commented on August 20, 2024 1

Started testing, see no errors so far.
Will report if I see them.
Thanks a lot!!!

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024

The errors you shared indicate something not related to the level_color.

Could you share a screenshot of your card in Lovelace when this happens?

from lovelace-fluid-level-background-card.

ildar170975 avatar ildar170975 commented on August 20, 2024

I tried to reproduce the case.
Here is a code:

type: custom:fluid-level-background-card
card:
  type: glance
  entities:
    - entity: sun.sun
      name: Beer level
entity: input_number.test_level_1
fill_entity: input_boolean.test_boolean
level_color:
  - 242
  - 142
  - 28

изображение

What I did:

  1. Edit a value of level_color - remove a list, start typing smth like
level_color: [

adding smth in this line, removing etc.
2. And once I reproduced these errors - but have not noticed which exact change caused it, just saw same errors in the Log.
3. But I failed to reproduce it again.

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024

I see. While you are typing in the YAML editor, The card gets updated on each keystroke, resulting in invalid values that break the code.

from lovelace-fluid-level-background-card.

ildar170975 avatar ildar170975 commented on August 20, 2024

Probably, and as I said I could not reproduce it, a bit erratic glitch...
Actually, a lot of cards report errors while typing an incomplete code, I would consider this as a normal behaviour.
The issue is about a high frequency.

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024

please check v0.1.6-beta.2

from lovelace-fluid-level-background-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.