mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fix ready func for reappearing
git-svn-id: https://svn.fhem.de/fhem/trunk@2079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
162885e692
commit
7770504c94
@ -28,6 +28,7 @@ FB_CALLMONITOR_Initialize($)
|
||||
# Provider
|
||||
$hash->{SetFn} = "FB_CALLMONITOR_Set";
|
||||
$hash->{ReadFn} = "FB_CALLMONITOR_Read";
|
||||
$hash->{ReadyFn} = "FB_CALLMONITOR_Ready";
|
||||
$hash->{DefFn} = "FB_CALLMONITOR_Define";
|
||||
$hash->{UndefFn} = "FB_CALLMONITOR_Undef";
|
||||
$hash->{AttrList}= "event-on-update-reading event-on-change-reading";
|
||||
@ -133,6 +134,16 @@ return undef;
|
||||
|
||||
}
|
||||
|
||||
|
||||
sub
|
||||
FB_CALLMONITOR_Ready($)
|
||||
{
|
||||
my ($hash) = @_;
|
||||
|
||||
return DevIo_OpenDev($hash, 1, "FB_CALLMONITOR_DoInit");
|
||||
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
=pod
|
||||
|
Loading…
Reference in New Issue
Block a user