Plot the temperature sensor on the secondary axis.
Works! Thanks a lot!
Oh and is it possible to display the two actual values at the same time?
Yes, only the initial entityâs state is displayed by default but you can use the show_state
entity option to display additional states.
- type: custom:mini-graph-card
entities:
- entity: sensor.temperature
- entity: sensor.humidity
show_state: true
Now my setup is a step closer towards perfection! Thanks a lot Karl!
Hi,
is it possible to Show only the values of the current day?
So the time from 00:00 - 24:00 of the current day?
And leave the rest(future) of the day blank? So if its 12:00 only the left half of the graph is shown with values
Thanks
My god, this would be perfectâŠ
I didnât realise I needed this until I saw this commentâŠ
No, thatâs currently not supported, but itâs a great idea.
HI,
updating my graph configs from an older version, I notice several options went from
show:
fill: true
to
show:
show_fill: true
yet on the doc page you still mention the config without the show_
a few times, eg with the bar option at https://github.com/kalkih/mini-graph-card#bar-chart-card or as example at https://github.com/kalkih/mini-graph-card#alternative-style.
Please let me ask what we should do now, or are both supported?
Where did you see these changes? Nothing has changed about the show options, show-...
is not supported and will not work.
maybe my misunderstanding then, but you wrote it here Lovelace: mini graph card and because of that I went to the github, and see this:
and eg this example config https://github.com/kalkih/mini-graph-card#alternate-y-axis
made a mistake above using a dash, meant to write an underscore, sorry for that, corrected in the post above
Might be my confusion between card and entity optionsâŠ
yes, see it now. thanks⊠Sorry for my redundant questionâŠ
Is it possible to have the tap action as a popup which displays the same mini-graph card?
I ask because I thought I could have it show a bigger version oft he graph in the pop-up.
Like this:
- type: custom:mini-graph-card
entities:
other graph card options here
tap_action:
action: call-service
service: browser_mod.command
service_data:
command: popup
large: true
deviceID:
- this
card:
type: custom:mini-graph-card
entities:
all the other graph card options EXCEPT the tap-action
Obviously this doesnât work for me but is it possible?
Of course I am also using browser_mod
by @thomasloven so it may even be function of that which stops it working?
Iâve never used browser_mod but if itâs just a service call I donât see why it shouldnât work, all service calls are made in the same way so it shouldnât matter what type of service call it is.
What happens if you press the card? Nothing?
Yes, nothing.
I finally managed to get this working (Iâm a bit of a novice to Home Assistant) and I have to say, itâs very cool.
I have one question though. Whith multiple graphs in one card, is it possible to click on one label in the legend and have that one persist, or like the standard graphs, just eliminate one line at a time?
Youâre not properly calling the popup service, unless you have a very old version of browser_mod. Should be
service: browser_mod.popup
and command: popup
is not necessary. See docs
Thanks.
I have the latest version of browser_mod
but have been using it for a long time so yes, all my configs are wrong!
However all my uses (and I have quite a lot) of browser_mod
still work (except this graph) so maybe @thomasloven didnât actually deprecate the old syntax?
And I am not sure how I missed such a big changeâŠ
Iâm going through and changing my config nowâŠ
Ok, So all my browser_mod
calls have been updated and work with the new correct syntax except the one I originally asked about.
Is this possible to do?
- type: custom:mini-graph-card
entities:
[--- other graph card options here ---]
tap_action:
action: call-service
service: browser_mod.popup
service_data:
large: true
deviceID:
- this
card:
type: custom:mini-graph-card
entities:
[--- all the other graph card options EXCEPT the tap-action ---]
And just to confirm I did âEmpty Cache and Hard Reloadâ and: