Comments (6)
Started testing, see no errors so far.
Will report if I see them.
Thanks a lot!!!
from lovelace-fluid-level-background-card.
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.
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:
- 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.
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.
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.
please check v0.1.6-beta.2
from lovelace-fluid-level-background-card.
Related Issues (20)
- bubble in your card HOT 3
- Manual fluid level. HOT 2
- Example config HOT 1
- Seems the level is dependent on the width or number of columns
- Add a fit option so entities with ranges other than 0-100 can be used HOT 4
- Can not install in HACS HOT 1
- The card its not working HOT 3
- The card it,s not working with beta 2 HOT 4
- Fill percentage shoud be independent of card size and aspect ratio. HOT 4
- Support for timers HOT 2
- Small typo "Choose a differnt card"
- Fluid level card error with type gauge (at system start) HOT 19
- Need to force clear cache in browser HOT 1
- [FR] Add an alternate "active" animation HOT 3
- Fix some css imperfections HOT 3
- [chore] upgrade devcontainer to use latest ha
- [chore] add translation to "use theme color" switch label
- [FR] Ability to define colors as "red", "#ff0000", "rgb/rgba(...)", "var(--some-var)" HOT 6
- [FR] Fallback to a CSS variable if no `level_color` is defined HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-fluid-level-background-card.