Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LKuemmel committed Oct 27, 2023
1 parent 32249e9 commit 3aa9b83
Showing 1 changed file with 25 additions and 18 deletions.
43 changes: 25 additions & 18 deletions src/views/GeneralChargeConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,24 +101,6 @@
Zielladen wird die Ladedauer ermittelt und dann zu den
günstigsten Stunden geladen.
</openwb-base-alert>
<openwb-base-number-input
title="Maximaler Strompreis für Sofortladen"
min="-80"
max="80"
step="0.01"
unit="ct/kWh"
:model-value="
$store.state.mqtt[
'openWB/optional/et/config/max_price'
] * 100000
"
@update:model-value="
updateState(
'openWB/optional/et/config/max_price',
$event / 100000
)
"
/>
<openwb-base-select-input
class="mb-2"
title="Anbieter"
Expand Down Expand Up @@ -164,6 +146,27 @@
)
"
/>
<openwb-base-heading>
Einstellungen für strompreisbasiertes Laden
</openwb-base-heading>
<openwb-base-number-input
title="Maximaler Strompreis für Sofortladen"
min="-80"
max="80"
step="0.01"
unit="ct/kWh"
:model-value="
$store.state.mqtt[
'openWB/optional/et/config/max_price'
] * 100000
"
@update:model-value="
updateState(
'openWB/optional/et/config/max_price',
$event / 100000
)
"
/>
</div>
</div>
</openwb-base-card>
Expand Down Expand Up @@ -236,6 +239,10 @@ export default {
this.getElectricityTariffDefaultConfiguration($event)
);
},
updateConfiguration(key, event) {
console.debug("updateConfiguration", key, event);
this.updateState(key, event.value, event.object);
},
},
};
</script>

0 comments on commit 3aa9b83

Please sign in to comment.