From cc22337b422e4ee541a2c75740c039f2d029bd9b Mon Sep 17 00:00:00 2001 From: Andreas Linde <42185+DerAndereAndi@users.noreply.github.com> Date: Sun, 11 Jun 2023 11:48:32 +0200 Subject: [PATCH] Fix ISO15118 vehicle (#8402) Such vehicles would be reported as `(Offline)` previously, as no Soc can be fetched and thus needs to behave as the `offline` template. The SoC is fetched via the charger, so hardcode it to 0 in here --- templates/definition/vehicle/iso15118.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/definition/vehicle/iso15118.yaml b/templates/definition/vehicle/iso15118.yaml index 16cddf1c7..7cbb52ae2 100644 --- a/templates/definition/vehicle/iso15118.yaml +++ b/templates/definition/vehicle/iso15118.yaml @@ -29,4 +29,7 @@ render: | {{- if .phases }} phases: {{ .phases }} {{- end }} + soc: # fixed - Soc fetched via charger available + source: js + script: 0; {{ include "vehicle-identify" . }}