2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

10_EnOcean: EnOcean_undef changed

git-svn-id: https://svn.fhem.de/fhem/trunk@11832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klaus-schauer 2016-07-22 17:23:28 +00:00
parent b40644589f
commit d4b01b1b86

View File

@ -1,4 +1,3 @@
##############################################
# $Id$
@ -15607,6 +15606,7 @@ sub
EnOcean_Undef($$)
{
my ($hash, $name) = @_;
delete $hash->{helper};
delete $modules{EnOcean}{defptr}{uc($hash->{DEF})};
delete $modules{EnOcean}{defptr}{uc($attr{$name}{remoteID})} if (exists $attr{$name}{remoteID});
if (AttrVal($name, "remoteManagement", "off") eq "client") {