Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:apexcharts-card
- graph_span: 10d
- experimental:
- color_threshold: true
- brush: true
- brush:
- selection_span: 2d
- apex_config: null
- header:
- title: Elpriset (Nordpool)
- show: true
- apex_config:
- yaxis:
- min: 0
- tickAmount: 10
- forceNiceScale: true
- chart:
- height: 300px
- hours_12: false
- span:
- start: hour
- offset: '-9d'
- now:
- show: true
- label: now
- series:
- - entity: sensor.nordpool_kwh_se3_sek_3_095_025
- type: area
- curve: stepline
- extend_to: now
- show:
- in_brush: true
- color: red
- - entity: sensor.nordpool_kwh_se3_sek_3_095_025
- name: Spotpris idag
- type: area
- curve: stepline
- extend_to: false
- show:
- in_brush: true
- color: red
- data_generator: |
- var a = entity.attributes.raw_today.map((start, index) => {
- return [new Date(start["start"]).getTime(), entity.attributes.raw_today[index]["value"]];
- });
- var b = [a[a.length - 1][0] + 3600000, 0];
- a.push( b );
- return a;
- - entity: sensor.nordpool_kwh_se3_sek_3_095_025
- name: Spotpris imorgon
- curve: stepline
- show:
- in_brush: true
- data_generator: |
- return entity.attributes.raw_tomorrow.map((entry) => {
- return [new Date(entry.start), entry.value];
- });
- type: area
- - entity: sensor.imported_energy_per_hour
- type: line
- color: black
- opacity: 1
- stroke_width: 2
- extend_to: now
- curve: stepline
- group_by:
- func: max
- duration: 1hour
- - entity: sensor.exported_energy_per_hour
- type: line
- color: green
- opacity: 1
- stroke_width: 2
- extend_to: now
- curve: stepline
- group_by:
- func: max
- duration: 1hour
- - entity: sensor.pv_genereted_per_hour
- type: line
- color: yellow
- opacity: 1
- stroke_width: 2
- extend_to: now
- curve: stepline
- group_by:
- func: max
- duration: 1hour
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement