2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

98_fhemdebug.pm: change trigger content for forceEvents (Forum #123655)

git-svn-id: https://svn.fhem.de/fhem/trunk@25175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-11-03 18:25:50 +00:00
parent 95bcff4dc6
commit 45f0998bdb

View File

@ -59,7 +59,7 @@ fhemdebug_Fn($$)
&{$main_readingsEndUpdate}($_[0], $dt);
};
*setReadingsVal = sub($$$$) {
DoTrigger($_[0]->{NAME}, "$_[1] $_[2]")
DoTrigger($_[0]->{NAME}, "$_[1]: $_[2]")
if($_[1] && $_[1] eq "IODev" &&
AttrVal($_[0]->{NAME}, "forceEvents", 0));
&{$main_setReadingsVal}(@_);