I’m trying to add a History Graph card (or similar, I’ve tried a couple of custom cards - ApexGraphs and MiniGraph) to create a History graph timeline from data from an entity attribute, specifically the binary_sensor.octopus_energy_{{ACCOUNT_ID}}_intelligent_dispatching
entity attribute completed_dispatches
, which is an array of attributes, containing start and end timestamps of past, historical completed dispatches. Intelligent - Home Assistant Octopus Energy
Some example data from this attribute is as follows:
- start: '2024-11-11T02:00:00+00:00'
end: '2024-11-11T02:30:00+00:00'
charge_in_kwh: -2.59
source: null
location: UNABLE_TO_IDENTIFY
- start: '2024-11-11T03:00:00+00:00'
end: '2024-11-11T03:30:00+00:00'
charge_in_kwh: -3.24
source: null
location: UNABLE_TO_IDENTIFY
- start: '2024-11-11T02:30:00+00:00'
end: '2024-11-11T03:00:00+00:00'
charge_in_kwh: -3.18
source: null
How can I make a history graph (or similar) from this data? I’ve tried making a sensor template helper, but this doesn’t seem to work, because the data is in the past, and doesn’t appear until after the event has occured.