Comments (3)
It seems like the colours I rely upon from home assistant that are defined there as variables are missing from the css you are using. I have never tried IOBroker can you give me a hint on how to set it up so I can try it? But probably this is a completely different software, so don't get your hopes up to much of me supporting it.
from tesla-style-solar-power-card.
Hi,
i changed the colors with search-and-replace in your card.js to:
var(--info-color) -> var(--label-badge-yellow)
var(--success-color) -> var(--label-badge-green)
var(--warning-color) -> var(--label-badge-red)
Some Icons seem misplaced, but the result is definately better. :-)
I will ask the IOBroker programmer where to define your used colors in their Lovelace implementation.
Additional suggestion:
-maybe we could configure the colors in the card-configuration?
-That way a user could choose to have the battery blue, grid pink and house in bright orange :-).
like:
house-color: var(--label-badge-yellow)
or maybe even better as entity independet like
color1: var(--label-badge-yellow)
For easy configuration and backwards-compatibility all values defaulting to your default settings, but changeable.
THX
Markus
from tesla-style-solar-power-card.
There is an event on home assistant that triggers a resize and then everything looks good, seems IOBroker is not doing that.
from tesla-style-solar-power-card.
Related Issues (20)
- Can't install in HA
- Request: decimal place configuration HOT 4
- Scale HOT 1
- How to add two cars with same consumption entity? HOT 2
- Car Charging line present when car charger idle HOT 1
- Help Tweaking my sensors... Losses and Multiple Flows...
- Is this the right way? HOT 1
- Battery Entity Doubles value with Solar Generation and Battery Charge
- How to Calculate and Display Home Energy Usage in house_extra_entity
- Ekstra solar pannel option HOT 4
- Why do the Recommended APF Sensors Show Impossible Transfers Compared to the Older "Tesla Card Sensors" ? HOT 2
- Card overlaying top navigation bar HOT 4
- HA log file - SyntaxError: The string did not match the expected pattern.
- Add second PV HOT 7
- Wrong bubble if solar loading battery
- Centre bubbles showing over lovelace header HOT 1
- Replicate Tesla Solar Dashboard View
- Graphic looks strange HOT 6
- Make circles a little bigger in respect to icon and font HOT 1
- indicate grid import/export in icon HOT 1
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 tesla-style-solar-power-card.