Mini-graph-card: [Feature request] Secondary info, battery status e.t.c.

Created on 10 Nov 2019  路  8Comments  路  Source: kalkih/mini-graph-card

Hi, i'm trying to show up secondary_info but this is not displaying.
Trying with:
'entities:
- entity: sensor.xxx
secondary_info: last-changed`

Can be 'secondary_info' displayed using custom:mini-graph-card ?

feature request question

Most helpful comment

Hello, thanks for the suggestion.
I could see this being added for at least the primary entity, displayed below the state, where the timestamp is displayed when hovering over a graph point.
Similar to the default entities card.

All 8 comments

Hello, secondary_info is not a valid option in this card.
All available options are listed in the readme.

Thanks for quick reply. Any plans to add this?

Please elaborate on secondary_info, what would it do? Display the timestamp for the last state change?

For example, right. I know that there is in more info card information when the last update was:
obraz

Please consider if you can add possibility to display this for example below sensor state with small font.
I think it will be nice to have this option.

Thanks, I'll consider it

@kalkih I'd like to ask for the same feature as @tomecki88.
Here is my use case:
I have multiple Shelly temperature sensors. They work by sending the temperature only when the temperature and/or humidity changes by a specific value, so it might take very long to get an update.

Ideally, we should be able to display some additional information.
The use case for this is simple:
Shelly is battery powered, so I want to have a graph showing those two values (temperature and humidity), but additionally, I'd like to display the battery level as an icon and a value (or just as formatted text Battery: 45%). This would allow us to build UI's that look really well and don't take a lot of space.

Please consider this feature.

Hello, thanks for the suggestion.
I could see this being added for at least the primary entity, displayed below the state, where the timestamp is displayed when hovering over a graph point.
Similar to the default entities card.

@kalkih this would be awesome 馃帀
But as I wrote in my use case, I want to display additional information:
I want to show a graph with three entities: temperature and humidity (this is currently possible) and I want to show battery, but not as a graph, but instead as a single label.

Something like this (just a simple mockup):
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

skarfacegc picture skarfacegc  路  7Comments

PipeDeveloper picture PipeDeveloper  路  4Comments

clydefrog76 picture clydefrog76  路  6Comments

phardy picture phardy  路  3Comments

gerard33 picture gerard33  路  3Comments