cleanup added

This commit is contained in:
Philipp Wo 2025-03-20 05:58:13 +01:00
parent b4c5586ce7
commit c9ae34f0c4

View File

@ -392,10 +392,18 @@ sub TadoAPI_Undefine {
RemoveInternalTimer($hash);
#todo remove tokenfile
return;
}
sub TadoAPI_Delete {
my ( $hash, $name ) = @_;
RemoveInternalTimer($hash);
# Löschen von Token-File
unlink($tokenFile . "_" . $name);
return;
}
sub TadoAPI_CheckStatus {
my $hash = shift;
my $name = $hash->{NAME};