2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

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 a0deab1d5d
commit 050bf32c3b

View File

@ -117,6 +117,7 @@ LGTV_IP12_Initialize($)
$hash->{DefFn} = "LGTV_IP12_Define"; $hash->{DefFn} = "LGTV_IP12_Define";
$hash->{DeleteFn} = "LGTV_IP12_Delete"; $hash->{DeleteFn} = "LGTV_IP12_Delete";
$hash->{UndefFn} = "LGTV_IP12_Undef";
$hash->{SetFn} = "LGTV_IP12_Set"; $hash->{SetFn} = "LGTV_IP12_Set";
$hash->{GetFn} = "LGTV_IP12_Get"; $hash->{GetFn} = "LGTV_IP12_Get";
$hash->{AttrFn} = "LGTV_IP12_Attr"; $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); 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 # Begin of helper functions