chore: fix missing battery params
This commit is contained in:
parent
79c53ae834
commit
dc1b84b7fd
3 changed files with 6 additions and 4 deletions
|
|
@ -16,4 +16,6 @@ render: |
|
|||
type: bosch-bpt
|
||||
usage: {{ .usage }}
|
||||
uri: {{ .uri }}
|
||||
capacity: {{ .capacity }} # kWh
|
||||
{{- if eq .usage "battery" }}
|
||||
{{- include "battery-params" . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -87,5 +87,5 @@ render: |
|
|||
address: 4146 # Batterie-SOC in %
|
||||
type: holding
|
||||
decode: uint16
|
||||
capacity: {{ .capacity }} # Nutzbare Kapazität in kWh | Net capacity (kWh)
|
||||
{{- include "battery-params" . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ params:
|
|||
render: |
|
||||
type: sma
|
||||
uri: {{ .host }} # IP address or hostname
|
||||
{{- if .password }}
|
||||
password: {{ .password }} # optional
|
||||
{{- if eq .usage "battery" }}
|
||||
{{- include "battery-params" . }}
|
||||
{{- end }}
|
||||
capacity: {{ .capacity }} # kWh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue