Yes. Both will work for now but I believe from 107 it needs to be hacsfiles. This is for all cards you install with HACS
Thanks, and we need also to rename the folder from âcommunityâ to âhacsfilesâ into ui-lovelace.yaml?
Yes.
HACS renamed both of those without me needing to do anything
No no no no no no NO
- HACS is off topic here
- Do NOT change/rename any folders!
- https://hacs.xyz/docs/categories/plugins#custom-view-hacsfiles should have all you need to know.
- 107 will start printing a deprecation warning for âcommunity_pluginâ, but it will still work. (will probably work until HACS is at v1)
Oops.Thought he meant in the resources section. Sorry.
First of all thanks for a fantastic card.
Iâm looking to graph boiler status and overlay night/day using a secondary y axis. Can you use multiple state maps where you have two sets of non-numerical (but different) data?
Thanks.
No currently not possible, I started working on making state map axis based, so you could have one for the primary axis and one for the secondary, but Iâve not finished the code.
https://github.com/kalkih/mini-graph-card/commit/822d3f529ab76ba58c72916dc3a0041dda8f2a14
Sorry if this has already been asked, but i searched this topic and found nothing.
Does anyone know how to adjust the Header to the default core card headers?
I tried the font_size_header, but have absolutely no clue for the padding and (most important) the text color.
type: 'custom:mini-graph-card'
name: Mini Graph Header
font_size_header: 19
entities:
- sensor.weather_temperature
Thanks in advance!
You should look at card-mod for that:
And submit a feature request.
Thanks and sorry that i donât mentioned card-mod. I already know that, but this is rocket science for me.
Using card-mod, adjust the padding on the mini graph header. Gotta find out the control name by using dev tools. You want to make the purple areas match essentially.
type: 'custom:mini-graph-card'
name: Mini Graph Header
entities:
- sensor.weather_temperature
style: |
ha-card > div:first-child {
padding: 0px 0px 0px 0px !important;
}
.name > span {
color: green;
font-size:22px !important;
}
Thanks so much @olijouve.
One little thing, the white text seems to be grey in the header, but iâm happy for now.
style: |
ha-card > div:first-child {
padding: 10px 10px 10px 16px !important;
}
.name > span {
color: white;
font-size:22px !important;
}
style: |
ha-card > div:first-child {
padding: 10px 10px 10px 16px !important;
}
.name > span {
color: white;
font-size:22px !important;
opacity: 1;
}
Magic!
Thanks once again, now i learned and have something to play with.
.name > span {
color: white;
font-size:22px !important;
opacity: 1 !important;
}
Works!
Thinking further I believe there might be a work around. There was another request to define a specific numeric value to map to in the state map. If this was implemented I could then map different states from the different sensors into the same range.
e.g. A,B,C maps to 1,2,3 and then J and K maps to 1 and 3.
Youâre welcome.
Hi, I have an issue with having 3 sensors in one card
The relation between recovered and confirmed is drawed completely wrong.
Here is my config:
entities:
- entity: sensor.germany_coronavirus_confirmed
name: confirmed
- entity: sensor.germany_coronavirus_recovered
name: recovered
y_axis: secondary
- entity: sensor.germany_coronavirus_deaths
name: death
hour24: true
hours_to_show: 168
line_width: 2
name: COVID-19 Statistic
points_per_hour: 0.5
schow_icon: false
show:
icon: false
labels: true
labels_secondary: true
points: false
state: true
smoothing: true
type: 'custom:mini-graph-card'
Is anything wrong?
When I delete the y_axis option, then the bue line moves to the bottom without showing any change: