chore: cleanup

This commit is contained in:
andig 2024-09-09 13:51:23 +02:00
parent 1af4c0ae77
commit e6a85f8fe3

View file

@ -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 }}