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
This commit is contained in:
Andreas Linde 2023-06-11 11:48:32 +02:00 • committed by GitHub
parent da6f337e89
commit cc22337b42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,4 +29,7 @@ render: |
{{- if .phases }}
phases: {{ .phases }}
{{- end }}
soc: # fixed - Soc fetched via charger available
source: js
script: 0;
{{ include "vehicle-identify" . }}