Skip to content

Commit af2ea6e

Browse files
authored
Merge pull request #658 from benderl/fix-charge-point-status-card
fix topic subscription
2 parents b464b7f + dd4d72c commit af2ea6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/status/ChargePointCard.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<div>
3939
max. Ladeleistung:
4040
{{
41-
(max_power = formatNumberTopic("openWB/chargepoint/" + chargePointIndex + "/get/max_evse_current", 0)) == "-"
41+
(max_power = formatNumberTopic(baseTopic + "/get/max_evse_current", 0)) == "-"
4242
? max_power
4343
: Math.floor((max_power * 3 * 230) / 1000)
4444
}}&nbsp;kW
@@ -222,9 +222,9 @@ export default {
222222
return {
223223
mqttTopicsToSubscribe: [
224224
`openWB/chargepoint/${this.installedChargePoint.id}/get/+`,
225-
`"openWB/chargepoint/${this.installedChargePoint.id}/get/connected_vehicle/info`,
226-
`"openWB/chargepoint/${this.installedChargePoint.id}/set/+`,
227-
`"openWB/internal_chargepoint/${this.installedChargePoint.id}/data/phases_to_use`,
225+
`openWB/chargepoint/${this.installedChargePoint.id}/get/connected_vehicle/info`,
226+
`openWB/chargepoint/${this.installedChargePoint.id}/set/+`,
227+
`openWB/internal_chargepoint/${this.installedChargePoint.id}/data/phases_to_use`,
228228
],
229229
};
230230
},

0 commit comments

Comments
 (0)