Config UI: explain poll risks (#20122)

This commit is contained in:
Michael Geers 2025-03-26 11:15:32 +01:00 • committed by GitHub
parent 4af5b18019
commit 1fb2af66ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 0 deletions

View file

@ -26,6 +26,9 @@
{{ $t("config.general.docsLink") }}
</a>
</div>
<div v-if="danger" class="alert alert-danger my-2" role="alert">
<strong>{{ $t("config.form.danger") }}:</strong> {{ danger }}
</div>
</div>
</div>
</template>
@ -44,6 +47,7 @@ export default {
optional: Boolean,
deprecated: Boolean,
error: String,
danger: String,
example: String,
docsLink: String,
},

View file

@ -477,6 +477,7 @@
class="ms-3 mb-5"
:label="$t('config.loadpoint.pollIntervalLabel')"
:help="$t('config.loadpoint.pollIntervalHelp')"
:danger="$t('config.loadpoint.pollIntervalDanger')"
>
<PropertyField
id="loadpointPollInterval"

View file

@ -117,6 +117,7 @@ titleAdd = "Zusätzlichen Zähler hinzufügen"
titleEdit = "Zusätzlichen Zähler bearbeiten"
[config.form]
danger = "Achtung"
deprecated = "veraltet"
example = "Beispiel"
optional = "optional"
@ -199,6 +200,7 @@ phasesAutomatic = "Automatische Phasen"
phasesAutomaticHelp = "Deine Wallbox unterstützt automatisches Umschalten zwischen 1- und 3-phasigem Laden. In der Hauptansicht kannst du das Phasenverhalten während des Ladens anpassen."
phasesHelp = "Anzahl der an die Wallbox angeschlossenen Phasen."
phasesLabel = "Phasen"
pollIntervalDanger = "Regelmäßiges Abfragen des Fahrzeuges kann dazu führen, dass die Fahrzeugbatterie entleert wird. Einige Fahrzeughersteller sperren das Laden in solchen Fällen auch aktiv. Nicht empfohlen! Verwende diese Einstellung nur, wenn du dir der Risiken bewusst bist."
pollIntervalHelp = "Zeit zwischen Fahrzeug-API-Updates. Kurze Intervalle können die Fahrzeugbatterie belasten."
pollIntervalLabel = "Update-Intervall"
pollModeAlways = "immer"

View file

@ -117,6 +117,7 @@ titleAdd = "Add External Meter"
titleEdit = "Edit External Meter"
[config.form]
danger = "Danger"
deprecated = "deprecated"
example = "Example"
optional = "optional"
@ -199,6 +200,7 @@ phasesAutomatic = "Automatic phases"
phasesAutomaticHelp = "Your charger supports automatic switching between 1- and 3-phase charging. In the main screen you can adjust phase behaviour while charging."
phasesHelp = "Number of phases connected to the charger."
phasesLabel = "Phases"
pollIntervalDanger = "Regularly querying the vehicle may drain the vehicle battery. Some vehicle manufacturers may actively prevent charging in this case. Not recommended! Only use this if you're aware of the risks."
pollIntervalHelp = "Time between vehicle API updates. Short intervals may drain the vehicle battery."
pollIntervalLabel = "Update interval"
pollModeAlways = "always"