From 836654c5300ef2d35c3c5be6860cb46b256cf60e Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 5 Sep 2022 11:04:18 +0200 Subject: [PATCH] Add Shelly EM (#4301) --- .../definition/meter/{shelly-pm1.yaml => shelly-1pm.yaml} | 4 ++-- templates/docs/meter/shelly-1pm_0.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename templates/definition/meter/{shelly-pm1.yaml => shelly-1pm.yaml} (84%) diff --git a/templates/definition/meter/shelly-pm1.yaml b/templates/definition/meter/shelly-1pm.yaml similarity index 84% rename from templates/definition/meter/shelly-pm1.yaml rename to templates/definition/meter/shelly-1pm.yaml index 1430eb4a2..d8b57b9e8 100644 --- a/templates/definition/meter/shelly-pm1.yaml +++ b/templates/definition/meter/shelly-1pm.yaml @@ -2,7 +2,7 @@ template: shelly-1pm products: - brand: Shelly description: - generic: 1PM + generic: 1PM, EM group: switchsockets params: - name: usage @@ -18,5 +18,5 @@ render: | type: shelly uri: http://{{ .host }} # shelly device ip address (local) {{ if ne .user "" }}user: {{ .user }}{{ end }} - {{ if ne .password "" }}password: {{ .password }}{{ end }} + {{ if ne .password "" }}password: {{ .password }}{{ end }} channel: {{ .channel }} # shelly device relay channel diff --git a/templates/docs/meter/shelly-1pm_0.yaml b/templates/docs/meter/shelly-1pm_0.yaml index 50790399a..22d22c44c 100644 --- a/templates/docs/meter/shelly-1pm_0.yaml +++ b/templates/docs/meter/shelly-1pm_0.yaml @@ -1,6 +1,6 @@ product: brand: Shelly - description: 1PM + description: 1PM, EM group: Schaltbare Steckdosen render: - usage: pv