Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:apexcharts-card
- apex_config:
- chart:
- height: 200
- all_series_config:
- stroke_width: 2
- header:
- show: true
- title: Elpriser Nodpool
- show_states: true
- graph_span: 2d
- span:
- start: day
- now:
- show: true
- label: Nu
- series:
- - entity: sensor.nordpool_kwh_se3
- name: idag
- show:
- legend_value: false
- extremas: true
- type: line
- extend_to: now
- color: blue
- float_precision: 3
- data_generator: |
- return entity.attributes.raw_today.map((entry) => {
- return [new Date(entry.start), entry.value];
- });
- - entity: sensor.nordpool_kwh_se3
- name: I morgon
- show:
- legend_value: false
- extremas: true
- group_by:
- func: last
- duration: 1h
- type: line
- color: orange
- float_precision: 3
- data_generator: |
- return entity.attributes.raw_tomorrow.map((entry) => {
- return [new Date(entry.start), entry.value];
- });
Advertisement
Add Comment
Please, Sign In to add comment