From dd4d72c73ccddc3a970204241e56d4255caeacaa Mon Sep 17 00:00:00 2001 From: Lutz Bender Date: Tue, 4 Mar 2025 11:22:40 +0100 Subject: [PATCH] fix topic subscription --- src/components/status/ChargePointCard.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/status/ChargePointCard.vue b/src/components/status/ChargePointCard.vue index 32defc53..4ac940e7 100644 --- a/src/components/status/ChargePointCard.vue +++ b/src/components/status/ChargePointCard.vue @@ -38,7 +38,7 @@
max. Ladeleistung: {{ - (max_power = formatNumberTopic("openWB/chargepoint/" + chargePointIndex + "/get/max_evse_current", 0)) == "-" + (max_power = formatNumberTopic(baseTopic + "/get/max_evse_current", 0)) == "-" ? max_power : Math.floor((max_power * 3 * 230) / 1000) }} kW @@ -222,9 +222,9 @@ export default { return { mqttTopicsToSubscribe: [ `openWB/chargepoint/${this.installedChargePoint.id}/get/+`, - `"openWB/chargepoint/${this.installedChargePoint.id}/get/connected_vehicle/info`, - `"openWB/chargepoint/${this.installedChargePoint.id}/set/+`, - `"openWB/internal_chargepoint/${this.installedChargePoint.id}/data/phases_to_use`, + `openWB/chargepoint/${this.installedChargePoint.id}/get/connected_vehicle/info`, + `openWB/chargepoint/${this.installedChargePoint.id}/set/+`, + `openWB/internal_chargepoint/${this.installedChargePoint.id}/data/phases_to_use`, ], }; },