Skip to content

Help with apexcharts #30

Answered by JaccoR
ThorAlex87 asked this question in Q&A
Oct 18, 2022 · 5 comments · 3 replies
Discussion options

You must be logged in to vote
series:
  - entity: sensor.current_electricity_market_price
    stroke_width: 2
    float_precision: 3
    type: column
    opacity: 1
    color: ''
    data_generator: |
      return entity.attributes.prices_today.map((record, index) => {
        return [record.time, record.price];
      });

in the datagenerator you can change entity.attributes.prices_today to entity.attributes.prices_tomorrow or entity.attributes.prices for all available prices. Yesterdays data you can just show by using the current_price sensor as this records all prices up to the current time.

for your nordpool charts you can just change the entity: sensor.nordpool_kwh_trheim_nok_3_095_025 to a entsoe entity and chan…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ThorAlex87
Comment options

Answer selected by ThorAlex87
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Mariusthvdb
Comment options

@ThorAlex87
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants