diff --git a/templates/definition/charger/etrel-duo.yaml b/templates/definition/charger/etrel-duo.yaml index 37937a7fa..93c2ad400 100644 --- a/templates/definition/charger/etrel-duo.yaml +++ b/templates/definition/charger/etrel-duo.yaml @@ -11,7 +11,6 @@ requirements: en: The charger must be switched to "Power" charging mode. params: - name: connector - default: 1 - name: host required: true - name: port diff --git a/templates/definition/charger/pracht-alpha.yaml b/templates/definition/charger/pracht-alpha.yaml index 394d68e7a..1b7bd1a74 100644 --- a/templates/definition/charger/pracht-alpha.yaml +++ b/templates/definition/charger/pracht-alpha.yaml @@ -11,6 +11,8 @@ params: baudrate: 9600 comset: 8N1 id: 1 + - name: connector render: | type: pracht-alpha {{- include "modbus" . }} + connector: {{ .connector }} diff --git a/templates/docs/charger/pracht-alpha_0.yaml b/templates/docs/charger/pracht-alpha_0.yaml index aa46a8d1c..23bf27e33 100644 --- a/templates/docs/charger/pracht-alpha_0.yaml +++ b/templates/docs/charger/pracht-alpha_0.yaml @@ -25,3 +25,4 @@ render: id: 1 host: 192.0.2.2 # Hostname port: 502 # Port + connector: 1 # Optional