Fix template HM

This commit is contained in:
Pascal Vizeli
2020-12-16 16:16:46 +00:00
parent e6a533c996
commit d0cfdcee88
3 changed files with 7 additions and 3 deletions

View File

@@ -43,6 +43,6 @@ Vertx.WorkerPoolSize=5
# USB HM/IP TRX Adapter Configuration
{{ range $index, $device := .hmip }}
Adapter.{{ if $index eq 0 }}1{{ else }}2{{ end }}.Type={{ $device.type }}
Adapter.{{ if $index eq 0 }}1{{ else }}2{{ end }}.Port={{ $device.device }}
Adapter.{{ if eq $index 0 }}1{{ else }}2{{ end }}.Type={{ $device.type }}
Adapter.{{ if eq $index 0 }}1{{ else }}2{{ end }}.Port={{ $device.device }}
{{ end }}