Apexcharts-card error: value.series[0].extend_to_end is extraneous

Hi there,

I’m trying to add an apexchart-card but it throws this error message at me:

/// apexcharts-card version 2.0.1 /// value.series[0] is not a ChartCardSeriesExternalConfig value.series[0].extend_to_end is extraneous value.series[0].extend_to_end is extraneous

I have cleaned the cache but no avail.
The code i’m using is this:

type: custom:apexcharts-card
header:
  show: true
  show_states: false
graph_span: 2d
span:
  start: day
series:
  - entity: sensor.nordpool_kwh_se3_sek_3_10_025
    name: Today
    data_generator: |
      return entity.attributes.raw_today.map((entry) => {
        return [new Date(entry.start), entry.value];
      });
    type: column
    show:
      legend_value: false
      in_header: false
    extend_to_end: false
  - entity: sensor.nordpool_kwh_se3_sek_3_10_025
    name: Tomorrow
    data_generator: |
      return entity.attributes.raw_tomorrow.map((entry) => {
        return [new Date(entry.start), entry.value];
      });
    type: column
    show:
      legend_value: false
      in_header: false

Any ideas?


EDIT

Solved it by myself: extend_to_end: isnt a viable option since apexchart 2.0

Just to add info, extend_to_end was replaced with extend_to: end (which is the default anyway).

3 Likes