Skip to content

Commit

Permalink
Pracht: add timeout parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Feb 17, 2023
1 parent 8d18248 commit 4c1c249
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/definition/charger/pracht-alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ params:
comset: 8N1
id: 1
- name: connector
- name: timeout
render: |
type: pracht-alpha
{{- include "modbus" . }}
connector: {{ .connector }}
timeout: {{ .timeout }}
1 change: 1 addition & 0 deletions templates/docs/charger/pracht-alpha_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ render:
host: 192.0.2.2 # Hostname
port: 502 # Port
connector: 1 # Optional
timeout: 10s # Optional

0 comments on commit 4c1c249

Please sign in to comment.