How to show nordpool prices in an apex chart for today AND tomorrow?

We have had tibber and have canceled to sign octopus, but we want to keep track of the tibber prices so we had used the nordpool integration since last autumn but then the integration changed and our chart is not working properly.

I know the solution must be in the data generator part

      data_generator: |
        return entity.attributes.raw_today.map((entry) => {
          return [new Date(entry.start), entry.value];
        });

but I do not how to expand the row till tomorrow evening. And I have not found a soultion like I had before with the tibber_prices integration.


type: custom:card-templater
update_interval: 60s
entities:
  - sensor.nordpool_kwh_ger_eur_4_10_0
card:
  type: custom:apexcharts-card
  experimental:
    color_threshold: true
  apex_config:
    legend:
      show: true
      showForZeroSeries: true
      position: bottom
      horizontalAlign: center
      floating: false
      fontSize: 16px
      fontWeight: bold
    xaxis:
      labels:
        style:
          colors: black
          fontSize: 16px
          fontWeight: normal
        tickAmount: 8
      axisTicks:
        show: true
      tooltip:
        enabled: false
    grid:
      show: true
      borderColor: black
      position: back
      yaxis:
        lines:
          show: false
      xaxis:
        lines:
          show: true
      row:
        colors:
          - lightgrey
          - transparent
        opacity: 0.95
      column:
        colors:
          - blue
          - transparent
    chart:
      height: 260px
    tooltip:
      enabled: true
      followCursor: false
      shared: true
      x:
        show: true
        format: HH:mm - ddd. dd. MMM.
      fixed:
        enabled: true
        position: UpperRight
      style:
        colors: black
        fontSize: 16px
        fontWeight: normal
  graph_span: 50.76h
  span:
    start: day
    offset: +0d
  now:
    show: true
    label_template: >-
      {% set spacs1 = "⠀" %}    {% set spacs2 = " ⠀" %}    {% set spacs4 = "  
      ⠀" %}    {% set spacs6 = "   ⠀  " %}    {% set price = int ( 10 *
      float(states('sensor.nordpool_kwh_ger_eur_4_10_0')) | round(3)) / 10 %}  
      {{ spacs1 }}{{ now().strftime("%H:%M")}}{{ spacs6 }}{{ spacs4 }}{{ spacs6
      }}{{ price }} Cent{{ spacs4 }}  
    color: blue
  header:
    show: true
    title: TIBBER PREISE & kWh VERBRAUCH JE TAGESSTUNDE
    standard_format: true
    show_states: true
    colorize_states: true
  yaxis:
    - id: first
      min: 15
      max: ~55
      decimals: 0
      apex_config:
        tickAmount: 8
        labels:
          style:
            colors: black
            fontSize: 14px
            fontWeight: normal
        title:
          text: ""
          style:
            colors: black
            fontSize: 16px
            fontWeight: normal
    - id: second
      opposite: true
      min: 0
      max: ~2
      decimals: 1
      apex_config:
        tickAmount: 4
        labels:
          style:
            colors: black
            fontSize: 14px
            fontWeight: normal
  series:
    - entity: sensor.nordpool_kwh_ger_eur_4_10_0
      name: "\_PREIS"
      unit: "\_CENT / kWh"
      yaxis_id: first
      show:
        in_header: before_now
        name_in_header: false
        extremas: true
      color_threshold:
        - value: 17.5
          color: 4DD0E1
        - value: 20
          color: 26A69A
        - value: 22.5
          color: 4CAF50
        - value: 25
          color: 7CB342
        - value: 30
          color: FBC02D
        - value: 35
          color: EF6C00
        - value: 40
          color: B71C1C
      type: line
      curve: stepline
      extend_to: false
      stroke_width: 4
      float_precision: 1
      data_generator: |
        return entity.attributes.raw_today.map((entry) => {
          return [new Date(entry.start), entry.value];
        });
    - entity: input_number.verbrauch_gesamt_0_1_der_letzten_stunde
      name: "\_kWh VORHERIGE STUNDE"
      unit: "\_kWh VORHERIGE STUNDE"
      yaxis_id: second
      stroke_width: 2
      type: line
      curve: stepline
      color: red
      extend_to: now
      float_precision: 2
      show:
        name_in_header: false
        legend_value: false
        in_brush: false
        in_chart: true

Thanks a lot