From 2f62a1cd68093b77352f1aa34764c5c7dafe7135 Mon Sep 17 00:00:00 2001 From: Patrick G <38922528+diddip21@users.noreply.github.com> Date: Wed, 26 Mar 2025 15:43:53 +0100 Subject: [PATCH] Config UI: added heating devices to chargers in ui (#20125) Co-authored-by: Patrick Co-authored-by: Michael Geers --- assets/js/components/Config/ChargerModal.vue | 14 +++++++++++++- i18n/de.toml | 1 + i18n/en.toml | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/assets/js/components/Config/ChargerModal.vue b/assets/js/components/Config/ChargerModal.vue index d93b0c2fc..10a447768 100644 --- a/assets/js/components/Config/ChargerModal.vue +++ b/assets/js/components/Config/ChargerModal.vue @@ -36,7 +36,7 @@ {{ option.name }} - + + + + p.group === "switchsockets"); }, + heatingdevicesOptions() { + return this.products.filter((p) => p.group === "heating"); + }, templateParams() { const params = this.template?.Params || []; return params.filter((p) => !CUSTOM_FIELDS.includes(p.Name)); diff --git a/i18n/de.toml b/i18n/de.toml index 468ebafdc..a87185508 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -39,6 +39,7 @@ titleEdit = "Energiezähler bearbeiten" [config.charger] chargers = "Wallboxen" generic = "Generische Integrationen" +heatingdevices = "Wärmeerzeuger" ocppHelp = "Kopiere diese Adresse in die Konfiguration der Wallbox." ocppLabel = "OCPP-Server URL" switchsockets = "Schaltbare Steckdosen" diff --git a/i18n/en.toml b/i18n/en.toml index 5ce6c86ed..f2e14a253 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -39,6 +39,7 @@ titleEdit = "Edit Charge Meter" [config.charger] chargers = "EV chargers" generic = "Generic integrations" +heatingdevices = "Heating devices" ocppHelp = "Copy this address into your chargers configuration." ocppLabel = "OCPP-Server URL" switchsockets = "Switchable sockets"