mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
UndefFn added
git-svn-id: https://svn.fhem.de/fhem/trunk@2807 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8fd8251d2b
commit
a4022c2542
@ -95,6 +95,7 @@ EnOcean_Initialize($)
|
||||
|
||||
$hash->{Match} = "^EnOcean:";
|
||||
$hash->{DefFn} = "EnOcean_Define";
|
||||
$hash->{UndefFn} = "EnOcean_Undef";
|
||||
$hash->{ParseFn} = "EnOcean_Parse";
|
||||
$hash->{SetFn} = "EnOcean_Set";
|
||||
$hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 " .
|
||||
@ -618,6 +619,15 @@ EnOcean_A5Cmd($$$)
|
||||
# type=A5 msg:4 senderId:4 status=00 subTelNum=01 destId:4 dBm=FF Security=00
|
||||
}
|
||||
|
||||
#####################################
|
||||
sub
|
||||
EnOcean_Undef($$)
|
||||
{
|
||||
my ($hash, $arg) = @_;
|
||||
delete $modules{EnOcean}{defptr}{uc($hash->{DEF})};
|
||||
return undef;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
=pod
|
||||
|
Loading…
x
Reference in New Issue
Block a user