abend
so da ist mal ein update auf 3.0.0 woe quasi alles in € per kwh angezeigt wird
3.0.0
Important Update Warning
This release changes the unit of measurement from ct/kWh to €/£/kWh, which is generally preferred by Home Assistant and allows automatic integration into the energy dashboard. Please be aware that all automations, graphs, and calculations depending on this unit will need to be updated accordingly.
Additionally, long-term statistics may not function correctly due to this unit change and may require manual adjustments to align with the new unit format.
User Options will be automatically updated to the correct values; however, we recommend reviewing them to ensure accuracy.
To avoid any disruptions or incorrect values, review and adapt your setups as necessary. For detailed guidance, please refer to the updated README for more information on making these adjustments.
so der Wert des sensor.epex_spot_data_net_price ist also jetzt in Euro
jetzt hab ich in meiner wahrscheinlich Naivität einen sensor angelegt der den Wert *100 multipliziert und somit den wieder in cent zu haben
und dann den Sensor in meinem Dashboard auszutauschen , leider scheint das nicht zu funktioniere (der neue sensor hab ich unter Zustände kontrolliert , der passt)
hier die 2 Karten im Dasboard im „alten“ Zustand
type: custom:apexcharts-card
graph_span: 24h
experimental:
color_threshold: true
header:
title: Energie Preis HEUTE
show: true
show_states: true
span:
start: day
now:
show: true
label: now
color: darkblue
series:
- entity: sensor.epex_spot_data_net_price
type: column
extend_to: end
unit: ct/kWh
float_precision: 3
yaxis_id: preis
show:
in_header: before_now
extremas: true
header_color_threshold: true
color_threshold:
- value: 2
color: 00ed01
- value: 4
color: 3af901
- value: 6
color: 87fa00
- value: 8
color: cefb02
- value: 10
color: eeff00
- value: 12
color: ffde1a
- value: 14
color: ffa700
- value: 16
color: ff8d00
- value: 18
color: ff7400
- value: 20
color: ff4d00
- value: 22
color: ff4d00
- value: 24
color: ff0000
- value: 26
color: e60000
- value: 28
color: cc0000
- value: 30
color: b30000
- value: 32
color: "990000"
- value: 34
color: "800000"
- value: 36
color: "660000"
- value: 38
color: 4d0000
- value: 40
color: "330000"
data_generator: |
return entity.attributes.data.map((entry) => {
return [new Date(entry.start_time), entry.price_ct_per_kwh];
});
group_by:
func: avg
duration: 1h
yaxis:
- id: preis
decimals: 0
apex_config:
title:
text: ct/kWh
tickAmount: 5
apex_config:
legend:
show: false
tooltip:
x:
show: true
format: HH:00 - HH:59
type: conditional
conditions:
- entity: sensor.display_card
state: "True"
card:
type: custom:apexcharts-card
graph_span: 24h
header:
title: Energie Preis MORGEN
show: true
show_states: false
span:
start: day
offset: +1day
series:
- entity: sensor.epex_spot_data_net_price
type: column
extend_to: end
unit: ct/kWh
float_precision: 3
yaxis_id: preis
group_by:
func: avg
duration: 1h
color: grey
show:
in_header: before_now
extremas: true
data_generator: |
return entity.attributes.data.map((entry) => {
return [new Date(entry.start_time), entry.price_ct_per_kwh];
});
yaxis:
- id: preis
decimals: 0
apex_config:
title:
text: ct/kWh
tickAmount: 5
apex_config:
legend:
show: false
tooltip:
x:
show: true
format: HH:00 - HH:59