Templates: fix quoting comset
Some checks failed
Some checks failed
This commit is contained in:
parent
af9f15f68b
commit
ad9e230e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ id: {{ .id }}
|
|||
# RS485 via adapter (Modbus RTU)
|
||||
device: {{ .device }}
|
||||
baudrate: {{ .baudrate }}
|
||||
comset: "{{ .comset }}"
|
||||
comset: {{ .comset }}
|
||||
{{- else if or (eq .modbus "rs485tcpip") .rs485tcpip }}
|
||||
# RS485 via TCP/IP (Modbus RTU)
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue