Pracht: add connector to template (#5865)

This commit is contained in:
andig 2023-01-21 17:00:08 +01:00 • committed by GitHub
parent cd8a4856c1
commit c2fd76b75c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

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

View file

@ -11,6 +11,8 @@ params:
baudrate: 9600
comset: 8N1
id: 1
- name: connector
render: |
type: pracht-alpha
{{- include "modbus" . }}
connector: {{ .connector }}

View file

@ -25,3 +25,4 @@ render:
id: 1
host: 192.0.2.2 # Hostname
port: 502 # Port
connector: 1 # Optional