Skip to content

Commit

Permalink
Solax: add default mode (#16856)
Browse files Browse the repository at this point in the history
  • Loading branch information
farcorben authored Nov 1, 2024
1 parent 717d9f9 commit cd78552
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion templates/definition/meter/solax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ params:
- name: capacity
advanced: true
- name: maxacpower
- name: defaultmode
description:
de: Standardmodus für die aktive Batteriesteuerung
en: Default mode for battery control
default: 0 # "SelfUse"
usages: ["battery"]
advanced: true
render: |
type: custom
power:
Expand Down Expand Up @@ -84,7 +91,7 @@ render: |
- case: 1 # normal
set:
source: const
value: 0 # self use mode
value: {{ .defaultmode }}
set:
source: modbus
{{- include "modbus" . | indent 8 }}
Expand Down

0 comments on commit cd78552

Please sign in to comment.