Switch sockets: fix template tests (#3463)
This commit is contained in:
parent
21e12f943a
commit
565582fb3d
4 changed files with 5 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ params:
|
|||
- name: usage
|
||||
choice: ["pv"]
|
||||
- name: host
|
||||
default: 192.0.2.2
|
||||
- name: user
|
||||
- name: password
|
||||
mask: true
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ params:
|
|||
- name: usage
|
||||
choice: ["grid", "pv", "battery"]
|
||||
- name: host
|
||||
default: 192.0.2.2
|
||||
- name: user
|
||||
required: false
|
||||
help:
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ params:
|
|||
- name: usage
|
||||
choice: ["pv"]
|
||||
- name: host
|
||||
default: 192.0.2.2
|
||||
render: |
|
||||
type: tplink
|
||||
uri: {{ .host }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue