From 1dc00783fbe9a719d1eb3410cfe8f1e3fc9fbd89 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 23 Nov 2018 10:25:21 +0000 Subject: [PATCH] mqtt2.template: fix template for sonoff_tasmota_ch2 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17825 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/lib/AttrTemplate/mqtt2.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/lib/AttrTemplate/mqtt2.template b/FHEM/lib/AttrTemplate/mqtt2.template index 2553aa3ee..473ea078b 100644 --- a/FHEM/lib/AttrTemplate/mqtt2.template +++ b/FHEM/lib/AttrTemplate/mqtt2.template @@ -83,7 +83,7 @@ attr DEVICE setList \ # NOTE: a second device will be created for the second channel name:sonoff_tasmota_2ch filter:TYPE=MQTT2_DEVICE -par:COMMAND;Command topic prefix, without trailing /;{ AttrVal("DEVICE","readingList","") =~ m,([^:]*)\btele(/.*)?/LWT:, ? "${1}cmnd/$2" : undef } +par:COMMAND;Command topic prefix, without trailing /;{ AttrVal("DEVICE","readingList","") =~ m,([^:]*)\btele(/.*)?/LWT:, ? "${1}cmnd$2" : undef } attr DEVICE eventMap { dev=>{ON=>'on',OFF=>'off'} } attr DEVICE stateFormat POWER1 attr DEVICE setList \