mini-graph-card
mini-graph-card copied to clipboard
Feature request: get values from attribute (list/array)
Hi, not been using Github much so don't know how to make a feature request. But I saw that someone had made one for attributes wich are great, but is there a way to get attributes like this.
Maybe the raw one or the "clean" one.
Its electricity prices for today and tomorrow, and they are in the attribute.
today: 0.823, 0.823, 0.799, 0.762, 0.779, 0.831, 0.807, 0.82, 0.851, 0.835, 0.823, 0.819, 0.814, 0.794, 0.792, 0.817, 0.857, 0.901, 0.884, 0.871, 0.864, 0.896, 0.878, 0.864 tomorrow: 0.756, 0.755, 0.753, 0.753, 0.762, 0.868, 0.971, 1.157, 1.288, 1.349, 1.017, 0.777, 0.732, 0.717, 0.812, 0.896, 0.844, 0.863, 0.9, 0.806, 0.744, 0.687, 0.6, 0.561 raw_today:
- start: '2023-03-21T00:00:00+01:00' end: '2023-03-21T01:00:00+01:00' value: 0.823
- start: '2023-03-21T01:00:00+01:00' end: '2023-03-21T02:00:00+01:00' value: 0.823
- start: '2023-03-21T02:00:00+01:00' end: '2023-03-21T03:00:00+01:00' value: 0.799
- start: '2023-03-21T03:00:00+01:00' end: '2023-03-21T04:00:00+01:00' value: 0.762
- start: '2023-03-21T04:00:00+01:00' end: '2023-03-21T05:00:00+01:00' value: 0.779
- start: '2023-03-21T05:00:00+01:00' end: '2023-03-21T06:00:00+01:00' value: 0.831
- start: '2023-03-21T06:00:00+01:00' end: '2023-03-21T07:00:00+01:00' value: 0.807
- start: '2023-03-21T07:00:00+01:00' end: '2023-03-21T08:00:00+01:00' value: 0.82
- start: '2023-03-21T08:00:00+01:00' end: '2023-03-21T09:00:00+01:00' value: 0.851
- start: '2023-03-21T09:00:00+01:00' end: '2023-03-21T10:00:00+01:00' value: 0.835
- start: '2023-03-21T10:00:00+01:00' end: '2023-03-21T11:00:00+01:00' value: 0.823
- start: '2023-03-21T11:00:00+01:00' end: '2023-03-21T12:00:00+01:00' value: 0.819
- start: '2023-03-21T12:00:00+01:00' end: '2023-03-21T13:00:00+01:00' value: 0.814
- start: '2023-03-21T13:00:00+01:00' end: '2023-03-21T14:00:00+01:00' value: 0.794
- start: '2023-03-21T14:00:00+01:00' end: '2023-03-21T15:00:00+01:00' value: 0.792
- start: '2023-03-21T15:00:00+01:00' end: '2023-03-21T16:00:00+01:00' value: 0.817
- start: '2023-03-21T16:00:00+01:00' end: '2023-03-21T17:00:00+01:00' value: 0.857
- start: '2023-03-21T17:00:00+01:00' end: '2023-03-21T18:00:00+01:00' value: 0.901
- start: '2023-03-21T18:00:00+01:00' end: '2023-03-21T19:00:00+01:00' value: 0.884
- start: '2023-03-21T19:00:00+01:00' end: '2023-03-21T20:00:00+01:00' value: 0.871
- start: '2023-03-21T20:00:00+01:00' end: '2023-03-21T21:00:00+01:00' value: 0.864
- start: '2023-03-21T21:00:00+01:00' end: '2023-03-21T22:00:00+01:00' value: 0.896
- start: '2023-03-21T22:00:00+01:00' end: '2023-03-21T23:00:00+01:00' value: 0.878
- start: '2023-03-21T23:00:00+01:00' end: '2023-03-22T00:00:00+01:00' value: 0.864
I believe this will be hard to implement. The plot data is retrieved from history internally. So, plotting attributes will require a major change in the code, which is not likely to happen. See #527