FB_CALLMONITOR: fix NOTIFYDEV

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13444 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2017-02-19 13:01:48 +00:00
parent 689d066888
commit f4d94ee33b

View File

@ -53,7 +53,6 @@ FB_CALLMONITOR_Initialize($)
$hash->{UndefFn} = "FB_CALLMONITOR_Undef"; $hash->{UndefFn} = "FB_CALLMONITOR_Undef";
$hash->{AttrFn} = "FB_CALLMONITOR_Attr"; $hash->{AttrFn} = "FB_CALLMONITOR_Attr";
$hash->{NotifyFn} = "FB_CALLMONITOR_Notify"; $hash->{NotifyFn} = "FB_CALLMONITOR_Notify";
$hash->{NOTIFYDEV} = "global";
$hash->{AttrList} = "do_not_notify:0,1 ". $hash->{AttrList} = "do_not_notify:0,1 ".
"disable:0,1 ". "disable:0,1 ".
"disabledForIntervals ". "disabledForIntervals ".
@ -89,7 +88,8 @@ FB_CALLMONITOR_Define($$)
return $msg; return $msg;
} }
$hash->{NOTIFYDEV} = "global";
DevIo_CloseDev($hash); DevIo_CloseDev($hash);
delete($hash->{NEXT_OPEN}); delete($hash->{NEXT_OPEN});