mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
mqtt2.template: delete unused JSONMAP arguments
git-svn-id: https://svn.fhem.de/fhem/trunk@18637 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
783371c04a
commit
3fff37257e
@ -471,10 +471,10 @@ par:DEVNAME;ESP's name in the topic;{ AttrVal("DEVICE","readingList","") =~ m,te
|
|||||||
#attr DEVICE userReadings state:POWER.*:.* { lc(ReadingsVal($name,"POWER1","") . " " . ReadingsVal($name,"POWER2","") . " " . ReadingsVal($name,"POWER3","") . " " . ReadingsVal($name,"POWER4","")) }
|
#attr DEVICE userReadings state:POWER.*:.* { lc(ReadingsVal($name,"POWER1","") . " " . ReadingsVal($name,"POWER2","") . " " . ReadingsVal($name,"POWER3","") . " " . ReadingsVal($name,"POWER4","")) }
|
||||||
attr DEVICE readingList \
|
attr DEVICE readingList \
|
||||||
tele/DEVNAME/LWT:.* LWT\
|
tele/DEVNAME/LWT:.* LWT\
|
||||||
tele/DEVNAME/STATE:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
tele/DEVNAME/STATE:.* { json2nameValue($EVENT) }\
|
||||||
tele/DEVNAME/SENSOR:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
tele/DEVNAME/SENSOR:.* { json2nameValue($EVENT) }\
|
||||||
tele/DEVNAME/INFO.:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
tele/DEVNAME/INFO.:.* { json2nameValue($EVENT) }\
|
||||||
stat/DEVNAME/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }
|
stat/DEVNAME/RESULT:.* { json2nameValue($EVENT) }
|
||||||
attr DEVICE setList \
|
attr DEVICE setList \
|
||||||
POWER1:on,off,toggle cmnd/DEVNAME/POWER1 $EVTPART1\
|
POWER1:on,off,toggle cmnd/DEVNAME/POWER1 $EVTPART1\
|
||||||
POWER2:on,off,toggle cmnd/DEVNAME/POWER2 $EVTPART1\
|
POWER2:on,off,toggle cmnd/DEVNAME/POWER2 $EVTPART1\
|
||||||
@ -554,7 +554,7 @@ attr DEVICE readingList \
|
|||||||
shellies/DEVNAME/relay/0:.* relay0\
|
shellies/DEVNAME/relay/0:.* relay0\
|
||||||
shellies/DEVNAME/input/0:.* input0\
|
shellies/DEVNAME/input/0:.* input0\
|
||||||
shellies/DEVNAME/online:.* online\
|
shellies/DEVNAME/online:.* online\
|
||||||
shellies/DEVNAME/announce:.* { json2nameValue($EVENT, '', $JSONMAP) }
|
shellies/DEVNAME/announce:.* { json2nameValue($EVENT) }
|
||||||
deleteReading DEVICE .*
|
deleteReading DEVICE .*
|
||||||
attr DEVICE model A_10_shelly1
|
attr DEVICE model A_10_shelly1
|
||||||
|
|
||||||
@ -680,7 +680,7 @@ attr DEVICE readingList \
|
|||||||
shellies/DEVNAME/relay/3:.* relay3\
|
shellies/DEVNAME/relay/3:.* relay3\
|
||||||
shellies/DEVNAME/input/3:.* input3\
|
shellies/DEVNAME/input/3:.* input3\
|
||||||
shellies/DEVNAME/online:.* online\
|
shellies/DEVNAME/online:.* online\
|
||||||
shellies/DEVNAME/announce:.* { json2nameValue($EVENT, '', $JSONMAP) }
|
shellies/DEVNAME/announce:.* { json2nameValue($EVENT) }
|
||||||
attr DEVICE setList \
|
attr DEVICE setList \
|
||||||
relay0:on,off shellies/DEVNAME/relay/0/command $EVTPART1\
|
relay0:on,off shellies/DEVNAME/relay/0/command $EVTPART1\
|
||||||
relay1:on,off shellies/DEVNAME/relay/1/command $EVTPART1\
|
relay1:on,off shellies/DEVNAME/relay/1/command $EVTPART1\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user