mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
mqtt2.template: fix template for sonoff_tasmota_ch2
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17825 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
00b4251a08
commit
1dc00783fb
@ -83,7 +83,7 @@ attr DEVICE setList \
|
|||||||
# NOTE: a second device will be created for the second channel
|
# NOTE: a second device will be created for the second channel
|
||||||
name:sonoff_tasmota_2ch
|
name:sonoff_tasmota_2ch
|
||||||
filter:TYPE=MQTT2_DEVICE
|
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 eventMap { dev=>{ON=>'on',OFF=>'off'} }
|
||||||
attr DEVICE stateFormat POWER1
|
attr DEVICE stateFormat POWER1
|
||||||
attr DEVICE setList \
|
attr DEVICE setList \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user