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:
parent
da6f337e89
commit
cc22337b42
1 changed files with 3 additions and 0 deletions
|
|
@ -29,4 +29,7 @@ render: |
|
|||
{{- if .phases }}
|
||||
phases: {{ .phases }}
|
||||
{{- end }}
|
||||
soc: # fixed - Soc fetched via charger available
|
||||
source: js
|
||||
script: 0;
|
||||
{{ include "vehicle-identify" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue