Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit de99f42

Browse files
committedApr 19, 2024·
#removed topics and countries
1 parent bd70d19 commit de99f42

File tree

1 file changed

+8
-56
lines changed

1 file changed

+8
-56
lines changed
 

‎src/components/electricity_tariffs/energycharts/electricity_tariff.vue

+8-56
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,9 @@
44
title="Land"
55
notSelected="Bitte auswählen"
66
:options="[
7-
{ value: 'de', text: 'Deutschland' },
8-
{ value: 'at', text: 'Österreich' },
9-
{ value: 'be', text: 'Belgien' },
10-
{ value: 'bg', text: 'Bulgarien' },
11-
{ value: 'ch', text: 'Schweiz' },
12-
{ value: 'cz', text: 'Tschechische Republik' },
13-
{ value: 'dk1', text: 'Dänemark 1' },
14-
{ value: 'dk2', text: 'Dänemark 2' },
15-
{ value: 'ee', text: 'Estland' },
16-
{ value: 'es', text: 'Spanien' },
17-
{ value: 'fi', text: 'Finnland' },
18-
{ value: 'fr', text: 'Frankreich' },
19-
{ value: 'gr', text: 'Griechenland' },
20-
{ value: 'hr', text: 'Kroatien' },
21-
{ value: 'hu', text: 'Ungarn' },
22-
{ value: 'itCAL', text: 'Italien Kalabrien' },
23-
{ value: 'itCN', text: 'Italien Zentrum Nord' },
24-
{ value: 'itCS', text: 'Italien Zentrum Süd' },
25-
{ value: 'itN', text: 'Italien Nord' },
26-
{ value: 'itSAC', text: 'Italien Sardinien Korsika AC' },
27-
{ value: 'itSDC', text: 'Italien Sardinien Korsika DC' },
28-
{ value: 'itSA', text: 'Italien Sardinien' },
29-
{ value: 'itSI', text: 'Italien Sizilien' },
30-
{ value: 'itS', text: 'Italien Süden' },
31-
{ value: 'lt', text: 'Litauen' },
32-
{ value: 'lv', text: 'Lettland' },
33-
{ value: 'me', text: 'Montenegro' },
34-
{ value: 'nl', text: 'Niederlande' },
35-
{ value: 'no1', text: 'Norwegen 1' },
36-
{ value: 'no2', text: 'Norwegen 2' },
37-
{ value: 'no2NSL', text: 'Norwegen Nordsee-Verbindung' },
38-
{ value: 'no3', text: 'Norwegen 3' },
39-
{ value: 'no4', text: 'Norwegen 4' },
40-
{ value: 'no5', text: 'Norwegen 5' },
41-
{ value: 'pl', text: 'Polen' },
42-
{ value: 'pt', text: 'Portugal' },
43-
{ value: 'ro', text: 'Rumänien' },
44-
{ value: 'rs', text: 'Serbien' },
45-
{ value: 'se1', text: 'Schweden 1' },
46-
{ value: 'se2', text: 'Schweden 2' },
47-
{ value: 'se3', text: 'Schweden 3' },
48-
{ value: 'se4', text: 'Schweden 4' },
49-
{ value: 'si', text: 'Slovenien' },
50-
{ value: 'sk', text: 'Slowakei' },
51-
7+
{ value: 'DE-LU', text: 'Deutschland' },
8+
{ value: 'AT', text: 'Österreich' },
9+
{ value: 'CH', text: 'Schweiz' },
5210
]"
5311
:model-value="electricityTariff.configuration.country"
5412
@update:model-value="
@@ -68,16 +26,9 @@
6826
:step="0.001"
6927
:precision="3"
7028
unit="ct/kWh"
71-
:model-value="
72-
$store.state.mqtt['openWB/general/prices/servePrice'] *
73-
100000
74-
"
29+
:model-value="electricityTariff.configuration.serve_price"
7530
@update:model-value="
76-
updateState(
77-
'openWB/general/prices/servePrice',
78-
parseFloat(($event / 100000).toFixed(7)),
79-
);
80-
updateConfiguration(parseFloat(($event).toFixed(7)), 'configuration.servePrice')
31+
updateConfiguration(parseFloat(($event).toFixed(7)), 'configuration.serve_price')
8132
"
8233
>
8334
<template #help>
@@ -96,13 +47,14 @@
9647
import ComponentState from "/src/components/mixins/ComponentState.vue";
9748
export default {
9849
name: "ElectricityTariffEnergyCharts",
99-
mixins: [ComponentState],
50+
mixins: [],
10051
emits: ["update:configuration"],
10152
props: {
10253
electricityTariff: { type: Object, required: true },
10354
},
10455
data() {
105-
return {};
56+
return {
57+
};
10658
},
10759
methods: {
10860
updateConfiguration(event, path = undefined) {

0 commit comments

Comments
 (0)
Please sign in to comment.