Download the mini-graph-card-dynamic.js file from the link in my previous post and place into config/www
In HA, navigate to Settings > Dashboards
Click on the three dots in the top right corner and hit Reccources
Click on + Add reccources at the bottom right
In the popup window, add this in the URL field: /local/mini-graph-card-dynamic.js
Select JavaScript module
Hit Create
I am considering adding a possibility to use input_number & input_boolean entities for some options like âhours_to_showâ, âshow::pointsâ etc, but this will not happen very soon.
Make a new folder, copy âmini-graph-card-bundle.js.gzâ over.
Rename to âmini-graph-card-dynamic.js.gzâ
mini-graph-card-bundle is the original card, you donât need it for mini-graph-card-dynamic to work. The only file thatâs needed is mini-graph-card-dynamic.js from my other post.
The gz file or anything âbundleâ belong to the original card, donât touch it.
@fauxPalindrome I am not sure what I am doing wrong here but the slider to change the graph hours is not showing up.
I have tried multiple different input_numbers.
I have also tried replacing the following in multiple different cards.
EDIT: It does work with a separate slider control, looked like that was part of the card in your original post. This will be sufficient for my use case, using the one control for all graphs.
Sorry I should have mentioned that I was using stack-in-card, a grid, and some card_mod to change the look of the input_numberâs slider in my example, itâs not the mini graph card thatâs made like that.
I seek help the following situation I am stuck. I have a sensor value which records only values dependend on a condition (e.b. heatpump cooling mode = on)
This works out fine when I display the sensors history. However in the minigraph a straight line is drawn from the last valid value until real values appears again. I donât know how to show the gap of values as in the history.Thanks in advance for any suggestions to solve my problem