chore: cleanup
This commit is contained in:
parent
1af4c0ae77
commit
e6a85f8fe3
1 changed files with 2 additions and 17 deletions
|
|
@ -32,9 +32,11 @@ params:
|
|||
- name: minsoc
|
||||
type: number
|
||||
advanced: true
|
||||
deprecated: true
|
||||
- name: maxsoc
|
||||
type: number
|
||||
advanced: true
|
||||
deprecated: true
|
||||
render: |
|
||||
type: custom
|
||||
{{- if eq .usage "grid" }}
|
||||
|
|
@ -141,21 +143,4 @@ render: |
|
|||
address: 0x0608 # SOC_Bat1
|
||||
type: holding
|
||||
decode: uint16
|
||||
# limitsoc:
|
||||
# source: go
|
||||
# script:
|
||||
# int(100-limitSoc)
|
||||
# out:
|
||||
# - name: dod
|
||||
# type: int
|
||||
# config:
|
||||
# source: modbus
|
||||
# {- include "modbus" . | indent 6 }
|
||||
# register:
|
||||
# address: 0x104D # BatConfig_Depth_of_Discharge
|
||||
# type: writemultiple
|
||||
# decode: uint16
|
||||
capacity: {{ .capacity }} # kWh
|
||||
# minsoc: {{ .minsoc }} # %
|
||||
# maxsoc: {{ .maxsoc }} # %
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue