2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

10_MQTT2_DEVICE.pm: document empty perl return (Forum #116458)

git-svn-id: https://svn.fhem.de/fhem/trunk@23294 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-12-05 11:44:55 +00:00
parent c49ee226d9
commit b00dc521c9

View File

@ -1057,12 +1057,13 @@ zigbee2mqtt_devStateIcon255($;$$)
Notes: Notes:
<ul> <ul>
<li>arguments to the set command will be appended to the message <li>arguments to the set command will be appended to the message
published (not for the perl expression)</li> published (this is not valid not for the perl expression)</li>
<li>the command arguments are available as $EVENT, $EVTPART0, etc., <li>the command arguments are available as $EVENT, $EVTPART0, etc.,
the name of the device as $NAME, both in the perl expression and the the name of the device as $NAME, both in the perl expression and the
"normal" topic variant.</li> "normal" topic variant.</li>
<li>the perl expression must return a string containing the topic and <li>the perl expression must return a string containing the topic and
the message separated by a space.</li> the message separated by a space. If it returns "", undef or 0, no
MQTT message will be sent.</li>
<li>SetExtensions is activated</li> <li>SetExtensions is activated</li>
<li>if the topic name ends with :r, then the retain flag is set</li> <li>if the topic name ends with :r, then the retain flag is set</li>
</ul> </ul>