klogg
(Klogg)
January 30, 2020, 9:08am
1074
Ok, so is this a mini-graph-card
issue or,a HACS issue (@ludeeus ) or just something wrong with my config?
(I haven’t changed this config for a long time but I could have missed a breaking change I guess.)
According to HACS I am on 0.9.1
According to Chrome I’m still on 0.9.0
And I get the rendering error mentioned that was fixed in 0.9.1 so I’m guessing I am actually on 0.9.0.
kalkih:
Thanks, broken extrema is now fixed in 0.9.1 .
(The broken extrema caused the graph to not render properly as well)
Sometimes I get neither graph but refreshing can bring back the top one as shown here…
- type: entities
title: ''
show_header_toggle: false
entities:
- type: custom:mini-graph-card
entities:
- entity: sensor.unifi_gateway_www_xput_down
name: Download
color: green
- entity: sensor.unifi_gateway_www_xput_up
name: Upload
color: blue
hour24: true
points_per_hour: 2
height: 100
line_width: 3
font_size: 75
lower_bound: 10
show:
extrema: true
labels: false
# points: true
name: false
icon: false
style: |
ha-card {
--ha-card-box-shadow: none
}
- type: custom:mini-graph-card
entities:
- entity: sensor.unifi_gateway_www_speedtest_ping
name: Ping
color: yellow
hour24: true
points_per_hour: 2
height: 50
line_width: 3
font_size: 75
lower_bound: 0
upper_bound: 20
show:
extrema: true
labels: false
# points: true
name: false
icon: false
style: |
ha-card {
--ha-card-box-shadow: none
}
style: |
ha-card {
--ha-card-box-shadow: none
}
SeLLeRoNe
(Andrea Iannucci)
January 30, 2020, 11:14am
1075
I think what you want to do is to have stackable card, for that there is already an FR openon GitHub: https://github.com/kalkih/mini-graph-card/issues/79
Regarding the graph you want to do, I think I know what you would like and I have been working on something like this quite a bit, not sure you saw my post here: Lovelace: mini graph card
If you want my whole config is on GitHub at this URL: https://github.com/SeLLeRoNe/HA-Config
You can look into it and take inspiration (or literally copy the code) for your goals.
SeLLeRoNe
(Andrea Iannucci)
January 30, 2020, 11:19am
1076
Have you tried to clean your browser cache or to updating pressing CTRL+F5?
Also, just in case, have you tryed to use the refresh inside Lovelace?
As last test, have you tried to reintall via HACS?
klogg
(Klogg)
January 30, 2020, 12:51pm
1077
Yes.
Yes.
Yes.
And ‘Empty cache and hard reload’
Still got 0.9.0
SeLLeRoNe
(Andrea Iannucci)
January 30, 2020, 1:22pm
1078
That’s quite odd, try to remove it and install it back from HACS (no need to change configs and/or restart HA)
gabrymed
(Gabriele)
January 30, 2020, 3:21pm
1079
Hi,after updating to 0.9.1 version,my graph has a weird issue:
It doesn’t visualize both min,avg and max graph but only one.It happens with every entity,i tried to create a new card,clear cache but no way.
My config is the same as in the example on github page and never a problem before 0.9.1.
- type: custom:mini-graph-card
entities:
- entity: sensor.dark_sky_temperature
aggregate_func: max
name: Max
color: #e74c3c
- entity: sensor.dark_sky_temperature
aggregate_func: min
name: Min
- entity: sensor.dark_sky_temperature
aggregate_func: avg
name: Avg
color: green
name: Temp outside daily (last week)
hours_to_show: 168
group_by: date
Did i miss something or it’s a bug?
kalkih
(Karl Kihlström)
January 30, 2020, 4:25pm
1080
Definitely a bug when using the same entity more than once in the same config.
I’m moving this weekend so could be a few days before I have time to address.
kalkih
(Karl Kihlström)
January 30, 2020, 4:34pm
1081
klogg:
Ok, so is this a mini-graph-card
issue or,a HACS issue (@ludeeus ) or just something wrong with my config?
(I haven’t changed this config for a long time but I could have missed a breaking change I guess.)
According to HACS I am on 0.9.1
According to Chrome I’m still on 0.9.0
This is exactly why I decided to start logging the version number.
I’ve had many HACS users reporting issues with getting the latest version to load properly even though HACS says it’s installed, from my understanding reinstalling the card usually fix it.
klogg
(Klogg)
January 30, 2020, 5:26pm
1082
Thanks yes I’m OK now, but I did need to clear the cache in between uninstalling and reinstalling.
rupr
January 30, 2020, 5:41pm
1083
Hello,
I am having a problem with graph card. I upgraded to the newest version and now I am getting this console error:
And there are no graphs showing.
I also tried to reinstall it, but it made no difference.
rupr
January 30, 2020, 6:36pm
1084
Here is the configuration of the card and how it looks at the moment:
kalkih
(Karl Kihlström)
January 30, 2020, 10:23pm
1085
Alright good, possibly related to this.
opened 05:03AM - 26 Jan 20 UTC
closed 10:25AM - 26 Jan 20 UTC
<!-- Before you open a new issue, search through the existing issues to see if o… thers have had the same problem.
Issues not containing the minimum requirements will be closed:
- Issues without a description (using the header is not good enough) will be closed.
- Issues without debug logging will be closed.
-->
## Version of HACS
0.20.8
<!-- If you are not using the newest version, download and try that before opening an issue
If you are unsure about the version check the "SETTINGS" tab.
-->
## Describe the bug
A clear and concise description of what the bug is.
WHen I update some cards, it still pulls the old version instaed of the updated one. This seems to happen with custom-header and button-card... Probably other cards as well
## Debug log
This is an example
```
020-01-09 09:21:43 DEBUG (MainThread) [hacs] Running set_state for kalkih/mini-media-player
2020-01-09 09:21:43 DEBUG (MainThread) [hacs.data] Saving data
2020-01-09 09:21:43 DEBUG (MainThread) [hacs] Running update for kalkih/mini-media-player
2020-01-09 09:21:43 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-media-player] Getting repository information
2020-01-09 09:21:48 DEBUG (MainThread) [hacs.data] Saving data
2020-01-09 09:21:49 DEBUG (MainThread) [hacs] Running set_state for kalkih/mini-media-player
2020-01-09 09:21:49 DEBUG (MainThread) [hacs.data] Saving data
2020-01-09 09:21:49 DEBUG (MainThread) [hacs] Running install for kalkih/mini-media-player
2020-01-09 09:21:49 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-media-player] Getting repository information
2020-01-09 09:21:54 DEBUG (MainThread) [hacs.repository.plugin.kalkih.mini-media-player] Downloading mini-media-player-bundle.js
2020-01-09 09:21:54 DEBUG (MainThread) [hacs.download.downloader] Downloading https://github.com/kalkih/mini-media-player/releases/download/v1.5.1/mini-media-player-bundle.js
2020-01-09 09:21:56 DEBUG (MainThread) [hacs.download.save] Saving /config/www/community/mini-media-player/mini-media-player-bundle.js
2020-01-09 09:21:56 INFO (MainThread) [hacs.repository.plugin.kalkih.mini-media-player] download of mini-media-player-bundle.js complete
2020-01-09 09:21:56 DEBUG (MainThread) [hacs.data] Saving data
```
According to frontend should have downloaded 1.5.2
Also... if that downloading message was in the 'info' rather than debug, it wouldn't spam the log file so much and I could leave HACS in there.....
I just restarted HA again and reloaded the card and get the latest version
What mini-graph-card version does it say at the top of the developer console log?
Try without the extrema and average show options, does it work correctly without them? If that’s the case make sure you got the very latest version of the card, HACS seems to not update the card correctly in some cases, see post 1082 .
Yeah it’s the exact same thing. Not sure what @ludeeus is doing about it - he closed the issue and refers to it in a different issue as well but there hasn’t been a new HACS version for a while. HACS is also deleting some custom components when I update them as well now so really not sure what is going on. (It’s gotten so bad with cards not updating that I use Winmerge to compare old vs new with updates to see if there has been any change!)
1 Like
rupr
January 30, 2020, 10:28pm
1087
According to the console it is version 0.9.1.
I allready tried it, but it makes no difference.
rupr
January 30, 2020, 10:53pm
1088
I just tried it in chrome instead of firefox and it works without a problem with the newest version of hacs and the mini card.
If I try it in firefox private mode it works…
kalkih
(Karl Kihlström)
January 30, 2020, 11:22pm
1089
Okay strange…
I’ll have to see if I can recreate the issue in firefox.
Did you try clearing cache in firefox?
rupr
January 30, 2020, 11:25pm
1090
Yes I tried and it made no difference, but I have just discovered something really strange
This works:
rupr
January 30, 2020, 11:27pm
1092
Also the history is working correctly:
@kalkih
Do have any idea what could cause my problems with firefox?
Hello!
Im playing with a sun elevation graph which currently looks like this
Is there a way of having a ‘0’ line going through the graph so that it better shows if the sun is above or below horizon ?