Replies: 1 comment
-
Issue now resolved. The octopus energy integration v9 update |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I used to have a chart that plotted the the half hourly meter consumption data provided via the octopus entity . I can see the attribute data below the entity but the apex chart is not plotting it
My modified code for the entity change I have reinstalled the front end component . If I add another apex chart for a diffeent entity all is ok
type: custom:apexcharts-card
header:
show: true
title: Electricity Consumption KWH
show_states: true
colorize_states: true
show:
last_updated: true
graph_span: 24h
span:
start: day
offset: '-1d'
series:
sensor.octopus_energy_electricity___previous_accumulative_consumption
data_generator: |
return entity.attributes.charges.map((reading) => {
return [new Date(reading.from).getTime(), reading.consumption];
});
type: column
color: Purple
Regards
NS
Beta Was this translation helpful? Give feedback.
All reactions