From ad9e230e2a3c3084ab27e83d4afe5cea5255b7b3 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 14 Apr 2025 08:59:05 +0200 Subject: [PATCH] Templates: fix quoting comset --- util/templates/modbus.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/templates/modbus.tpl b/util/templates/modbus.tpl index ea374c4c9..5ce1a4eb2 100644 --- a/util/templates/modbus.tpl +++ b/util/templates/modbus.tpl @@ -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 }}