TP-Link + Tapo charger template enhancements (#3044)

This commit is contained in:
Markus Thierolf 2022-03-31 15:33:01 +02:00 • committed by GitHub
parent 40fb13b442
commit 7f34b8f9d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 6 deletions

View file

@ -2,21 +2,31 @@ template: tapo
products:
- brand: TP-Link
description:
generic: Tapo
generic: Tapo P-Series Smart Plug
group: switchsockets
params:
- name: uri
- name: host
required: true
example: 192.0.2.2
help:
en: tapo device ip address (local)
de: Die IP-Adresse der Tapo Steckdose im lokalen LAN/WLAN
- name: user
required: true
help:
en: user of TP-Link account (usually an e-mail address)
de: TP-Link Benutzerkonto (Normalerweise die E-Mail Adresse, wie in der Tapo App konfiguriert)
- name: password
required: true
mask: true
help:
en: password of of TP-Link account
de: Password des TP-Link Benutzerkontos
- name: standbypower
default: 15
render: |
type: tapo
uri: {{ .uri }}
uri: http://{{ .host }}
user: {{ .user }}
password: {{ .password }}
standbypower: {{ .standbypower }} # treat as charging above this power
standbypower: {{ .standbypower }}

View file

@ -1,13 +1,16 @@
template: tplink
products:
- brand: TP-LINK
- brand: TP-Link
description:
generic: Smart Plug
generic: H-Series Smart Plug
group: switchsockets
params:
- name: host
required: true
example: 192.0.2.2
help:
en: tp-link device ip address (local)
de: Die IP-Adresse der TP-Link Steckdose im lokalen LAN/WLAN
- name: standbypower
default: 15
render: |