Switch sockets: fix template tests (#3463)

This commit is contained in:
Markus Thierolf 2022-05-23 11:01:43 +02:00 • committed by GitHub
parent 21e12f943a
commit 565582fb3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 1 deletions

View file

@ -13,7 +13,8 @@ var acceptable = []string{
"missing mqtt broker configuration",
"mqtt not configured",
"not a SunSpec device",
"missing password", // Powerwall
"missing password", // Powerwall
"missing user or password", // Tapo
"connect: no route to host",
"connect: connection refused",
"connect: network is unreachable",

View file

@ -8,6 +8,7 @@ params:
- name: usage
choice: ["pv"]
- name: host
default: 192.0.2.2
- name: user
- name: password
mask: true

View file

@ -7,6 +7,7 @@ params:
- name: usage
choice: ["grid", "pv", "battery"]
- name: host
default: 192.0.2.2
- name: user
required: false
help:

View file

@ -8,6 +8,7 @@ params:
- name: usage
choice: ["pv"]
- name: host
default: 192.0.2.2
render: |
type: tplink
uri: {{ .host }}