LGTV_IP12: add missing UndefFn

git-svn-id: https://svn.fhem.de/fhem/trunk@11011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2016-03-06 16:31:58 +00:00
parent 6e49208e53
commit 905a6df377

View File

@@ -117,6 +117,7 @@ LGTV_IP12_Initialize($)
$hash->{DefFn} = "LGTV_IP12_Define";
$hash->{DeleteFn} = "LGTV_IP12_Delete";
$hash->{UndefFn} = "LGTV_IP12_Undef";
$hash->{SetFn} = "LGTV_IP12_Set";
$hash->{GetFn} = "LGTV_IP12_Get";
$hash->{AttrFn} = "LGTV_IP12_Attr";
@@ -353,6 +354,16 @@ LGTV_IP12_Delete($$)
LGTV_IP12_HttpGet($hash, "/udap/api/pairing", "removePairing", undef, "<api type=\"pairing\"><name>byebye</name><port>8080</port></api>") if(exists($hash->{helper}{PAIRED}) and $hash->{helper}{PAIRED} == 1);
}
#################################
sub
LGTV_IP12_Undef($$)
{
my ($hash, $name) = @_;
RemoveInternalTimer($hash);
}
############################################################################################################
#
# Begin of helper functions