Mini-graph-card: Extrema View - Improvements

Created on 14 Feb 2019  路  12Comments  路  Source: kalkih/mini-graph-card

It would be nice on the Extrema View to be able to see one line per entity so to keep track of all min-max of each entity of the graph.

It would also be nice, when there are multiple entities but you want to see only one min/max, to be able to define which entity provides you the min and which the max.

Hope is clear enough, if not let me know :)

Cheers
Andrea

enhancement

Most helpful comment

When displaying data over more than 24h it shows only TIME of the extreme value, would be good to be able to format the value to show DATE+TIME (in 12/24h, and with different date formats, i.e yyyy-mm-dd, preferably from some system setting)

The day / weekday will be displayed by default in the next release if the graph timeframe is longer than 24 hours d1bdfce64a285e9bf9ccb068a668ebef021cb954

The format will be (D ddd, HH:mm - HH:mm ) or corresponding am/pm format

All 12 comments

I think we could add this as an optional option in the entity object, similar to show_state.

Possibly something like this:

entities:
  - sensor.temperature
  - entity: sensor.pressure
    name: Pressure
    show_state: true
    show_extrema: true #show this entity in the extrema
  - sensor.humidity

Yep I think that would make a lot of sense.

It might actually also work in another way:

extrema: true
entities:
  - sensor.temperature
  - entity: sensor.pressure
    name: Pressure
    show_state: true
    show_extrema: false #don't show this entity in the extrema but show all the rest
  - sensor.humidity

When displaying data over more than 24h it shows only TIME of the extreme value, would be good to be able to format the value to show DATE+TIME (in 12/24h, and with different date formats, i.e yyyy-mm-dd, preferably from some system setting)

When displaying data over more than 24h it shows only TIME of the extreme value, would be good to be able to format the value to show DATE+TIME (in 12/24h, and with different date formats, i.e yyyy-mm-dd, preferably from some system setting)

The day / weekday will be displayed by default in the next release if the graph timeframe is longer than 24 hours d1bdfce64a285e9bf9ccb068a668ebef021cb954

The format will be (D ddd, HH:mm - HH:mm ) or corresponding am/pm format

Excellent, thanks!

Is it possible to display the weekdays in a local HA language?

@hekm77 This is now available in the latest release v0.3.2, no config needed, utalize the language set in HA.

Did this every get implemented?
I was just trying to achieve this for a temp/humidity graph so I could see the min/max for both sensors.

No, this issue is still open.

Was thinking maybe something like:

Min: TempValue / Time           Min: HumidityValue / Time
Max: TempValue / Time           Max: HumidityValue / Time

Maybe it can be even simpler and more elegant.

How about to have an option to place extrema on the same line of current status? This to have a more compact view.
something like this:
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clydefrog76 picture clydefrog76  路  6Comments

hajo62 picture hajo62  路  6Comments

WhistleMaster picture WhistleMaster  路  3Comments

NapalmCandy picture NapalmCandy  路  4Comments

Joezi79 picture Joezi79  路  4Comments