Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:apexcharts-card
- experimental:
- color_threshold: true
- graph_span: 2d
- header:
- title: Energy price today (snt/kWh)
- show: true
- span:
- start: day
- now:
- show: true
- label: " "
- locale: fi
- series:
- - entity: sensor.nordpool
- color_threshold:
- - value: -10
- color: green
- opacity: 1
- - value: 7
- color: orange
- - value: 13
- color: red
- type: column
- show:
- legend_value: false
- name: " "
- data_generator: |
- return entity.attributes.raw_today.map((start, index) => {
- return [new Date(start["start"]).getTime(), entity.attributes.raw_today[index]["value"]];
- });
- - entity: sensor.nordpool
- color_threshold:
- - value: -10
- color: green
- opacity: 1
- - value: 6
- color: orange
- - value: 11
- color: red
- type: column
- show:
- legend_value: false
- name: " "
- data_generator: |
- return entity.attributes.raw_tomorrow.map((start, index) => {
- return [new Date(start["start"]).getTime(), entity.attributes.raw_tomorrow[index]["value"]];
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement