|
4 | 4 | title="Land"
|
5 | 5 | notSelected="Bitte auswählen"
|
6 | 6 | :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' }, |
52 | 10 | ]"
|
53 | 11 | :model-value="electricityTariff.configuration.country"
|
54 | 12 | @update:model-value="
|
|
68 | 26 | :step="0.001"
|
69 | 27 | :precision="3"
|
70 | 28 | unit="ct/kWh"
|
71 |
| - :model-value=" |
72 |
| - $store.state.mqtt['openWB/general/prices/servePrice'] * |
73 |
| - 100000 |
74 |
| - " |
| 29 | + :model-value="electricityTariff.configuration.serve_price" |
75 | 30 | @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') |
81 | 32 | "
|
82 | 33 | >
|
83 | 34 | <template #help>
|
|
96 | 47 | import ComponentState from "/src/components/mixins/ComponentState.vue";
|
97 | 48 | export default {
|
98 | 49 | name: "ElectricityTariffEnergyCharts",
|
99 |
| - mixins: [ComponentState], |
| 50 | + mixins: [], |
100 | 51 | emits: ["update:configuration"],
|
101 | 52 | props: {
|
102 | 53 | electricityTariff: { type: Object, required: true },
|
103 | 54 | },
|
104 | 55 | data() {
|
105 |
| - return {}; |
| 56 | + return { |
| 57 | + }; |
106 | 58 | },
|
107 | 59 | methods: {
|
108 | 60 | updateConfiguration(event, path = undefined) {
|
|
0 commit comments