Sax: fix battery control(#22000)
Co-authored-by: andig <cpuidle@gmail.com>
This commit is contained in:
parent
6de801f861
commit
51d0419253
1 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ render: |
|
|||
register:
|
||||
address: 43 # 2Bh battery discharging power [W]
|
||||
type: writemultiple
|
||||
encoding: uint32
|
||||
encoding: uint16
|
||||
- case: 2 # holding mode puts discharge to 0W
|
||||
set:
|
||||
source: const
|
||||
|
|
@ -88,6 +88,6 @@ render: |
|
|||
register:
|
||||
address: 43 # 2Bh battery discharging power [W]
|
||||
type: writemultiple
|
||||
encoding: uint32
|
||||
encoding: uint16
|
||||
capacity: {{ .capacity }} # kWh
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue