mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 16:56:04 +00:00
mqtt2.template: repair tasmota_basic
git-svn-id: https://svn.fhem.de/fhem/trunk@18139 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d7087670d2
commit
c50c2fbcfc
@ -161,6 +161,7 @@ name:A_01_tasmota_basic
|
||||
filter:TYPE=MQTT2_DEVICE
|
||||
desc:Applies to Sonoff 1 Channel devices using POWER-topic for relay state
|
||||
set DEVICE attrTemplate A_01a_tasmota_basic_state_power1
|
||||
par:DEVNAME;ESP's name in the topic;{ AttrVal("DEVICE","readingList","") =~ m,tele/([^/]*)/, ? $1 : undef }
|
||||
#par:COMMAND;Command topic prefix, without trailing /;{ AttrVal("DEVICE","readingList","") =~ m,([^:]*)\btele(/.*)?/LWT:, ? "${1}cmnd$2" : undef }
|
||||
attr DEVICE stateFormat POWER
|
||||
attr DEVICE setList \
|
||||
|
Loading…
x
Reference in New Issue
Block a user