Skip to content
Jan C edited this page Jun 28, 2022 · 4 revisions

Welcome to the ecopower_dynamic_grid_prices wiki!

Example apexcharts-card

type: custom:apexcharts-card
experimental:
  color_threshold: true
graph_span: 48h
header:
  title: Electricity Price - Ecopower Injection
  show: true
span:
  start: day
  offset: +0d
now:
  show: true
  label: Now
yaxis:
  - decimals: 2
series:
  - entity: sensor.ecopower_injection_price
    type: column
    float_precision: 3
    data_generator: |
      return entity.attributes.raw_today.map((entry) => {
        return [new Date(entry.start), entry.value];
      });
    color_threshold:
      - value: 0
        color: green
        opacity: 1
      - value: 0.3
        color: yellow
      - value: 0.4
        color: red


Disclaimer:

Errors in this software can have a significant impact on your electricity bill. The authors cannot be held liable for any financial or other damage caused by the use of this software.

Clone this wiki locally