2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-28 02:44:53 +00:00

fhem.pl: add setNotifyDev (Forum )

git-svn-id: https://svn.fhem.de/fhem/trunk@25541 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-01-22 09:21:18 +00:00
parent 292c8fd2bb
commit be897603ae

@ -155,6 +155,7 @@ sub setGlobalAttrBeforeFork($);
sub setReadingsVal($$$$);
sub setAttrList($$);
sub setDevAttrList($;$);
sub setNotifyDev($$);
sub toJSON($);
sub utf8ToLatin1($);
@ -5604,6 +5605,19 @@ notifyRegexpChanged($$;$)
}
}
sub
setNotifyDev($$)
{
my ($hash, $ntfydev) = @_;
if($ntfydev) {
$hash->{NOTIFYDEV} = $ntfydev;
} else {
delete($hash->{NOTIFYDEV});
}
%ntfyHash = ();
}
sub
configDBUsed()
{