OpenEMS: fix null (#11479)
This commit is contained in:
parent
d1006a2d33
commit
b93493549f
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ render: |
|
|||
type: basic
|
||||
user: x
|
||||
password: {{ .password }}
|
||||
jq: .value
|
||||
jq: (.value // 0)
|
||||
{{- if eq .usage "battery" }}
|
||||
soc:
|
||||
source: http
|
||||
|
|
@ -39,7 +39,7 @@ render: |
|
|||
type: basic
|
||||
user: x
|
||||
password: {{ .password }}
|
||||
jq: .value
|
||||
jq: (.value // 0)
|
||||
{{- if .capacity }}
|
||||
capacity: {{ .capacity }} # kWh
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue