|
@@ -0,0 +1,44 @@
|
|
|
+type: custom:apexcharts-card
|
|
|
+update_interval: 5m
|
|
|
+graph_span: 24h
|
|
|
+span:
|
|
|
+ start: day
|
|
|
+now:
|
|
|
+ show: true
|
|
|
+ label: nu
|
|
|
+header:
|
|
|
+ show: true
|
|
|
+ show_states: true
|
|
|
+ colorize_states: true
|
|
|
+ title: Stroomprijs vandaag
|
|
|
+experimental:
|
|
|
+ color_threshold: true
|
|
|
+series:
|
|
|
+ - entity: sensor.karveel_45_74_average_electricity_price_today
|
|
|
+ stroke_width: 2
|
|
|
+ float_precision: 3
|
|
|
+ type: column
|
|
|
+ opacity: 1
|
|
|
+ color_threshold:
|
|
|
+ - value: -10
|
|
|
+ color: '#000fff'
|
|
|
+ - value: 0
|
|
|
+ color: '#00ffd5'
|
|
|
+ - value: 0.1
|
|
|
+ color: '#ffff00'
|
|
|
+ - value: 0.2
|
|
|
+ color: '#ff8000'
|
|
|
+ - value: 0.3
|
|
|
+ color: '#ff2a00'
|
|
|
+ - value: 1
|
|
|
+ color: '#ff00d4'
|
|
|
+ - value: 2
|
|
|
+ color: '#5000ff'
|
|
|
+ data_generator: |
|
|
|
+ return entity.attributes.prices.map((record, index) => {
|
|
|
+ return [record.time, record.price];
|
|
|
+ });
|
|
|
+yaxis:
|
|
|
+ - id: Prijs
|
|
|
+ decimals: 2
|
|
|
+ min: 0
|