From 2d7cc68c3c04b26f4c90d0bd9791b3af66861c56 Mon Sep 17 00:00:00 2001 From: Beta-User <> Date: Tue, 17 Sep 2019 05:32:15 +0000 Subject: [PATCH] mqtt2.template: set one more par statement default to undef git-svn-id: https://svn.fhem.de/fhem/trunk@20177 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/lib/AttrTemplate/mqtt2.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/lib/AttrTemplate/mqtt2.template b/fhem/FHEM/lib/AttrTemplate/mqtt2.template index a22961b25..494606834 100644 --- a/fhem/FHEM/lib/AttrTemplate/mqtt2.template +++ b/fhem/FHEM/lib/AttrTemplate/mqtt2.template @@ -598,7 +598,7 @@ desc:Configures a dual chanel tasmota device as shutter; needs a special firmwar par:CMNDTOPIC;Command topic prefix, without trailing /;{ AttrVal("DEVICE","readingList","") =~ m,([^:]*)\b(tele|cmnd|stat)(/.*)?/LWT:, ? "${1}cmnd$3" : undef } par:TELETOPIC;info topic prefix, without trailing /;{ AttrVal("DEVICE","readingList","") =~ m,([^:]*)\b(tele|cmnd|stat)(/.*)?/LWT:, ? "${1}tele$3" : undef } par:STATTOPIC;ack topic prefix, without trailing /;{ AttrVal("DEVICE","readingList","") =~ m,([^:]*)\b(tele|cmnd|stat)(/.*)?/LWT:, ? "${1}stat$3" : undef } -par:IO_DEV;Currently used IO;{ AttrVal("DEVICE","IODev","")} +par:IO_DEV;Currently used IO;{ AttrVal("DEVICE","IODev",undef)} set DEVICE attrTemplate A_01z_tasmota_set_lowercase_texts_and_state1 set IO_DEV publish CMNDTOPIC/Backlog LedState 2; SetOption80 1; Interlock0 1; SetOption81 1; switchmode1 3; switchmode2 3; SaveData 1; set IO_DEV publish CMNDTOPIC/Restart 1