File tree 1 file changed +3
-10
lines changed
src/components/electricity_tariffs/energycharts
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 68
68
:step =" 0.001"
69
69
:precision =" 3"
70
70
unit =" ct/kWh"
71
- :model-value ="
72
- $store.state.mqtt['openWB/general/prices/grid'] *
73
- 100000
74
- "
75
71
@update:model-value ="
76
- updateState(
77
- 'openWB/general/prices/grid',
78
- parseFloat(($event / 100000).toFixed(7)),
79
- )
72
+ updateConfiguration(parseFloat(($event).toFixed(7)), 'configuration.servePrice')
80
73
"
81
74
>
82
75
<template #help >
92
85
</template >
93
86
94
87
<script >
95
- import ComponentState from " /opt/openWB-dev/openwb-ui-settings/src/components/mixins/ComponentState.vue " ;
88
+
96
89
export default {
97
90
name: " ElectricityTariffEnergyCharts" ,
98
- mixins: [ComponentState ],
91
+ mixins: [],
99
92
emits: [" update:configuration" ],
100
93
props: {
101
94
electricityTariff: { type: Object , required: true },
You can’t perform that action at this time.
0 commit comments