From 0f555f7fad57fd9cd6a78cd1bd2fdaf83b7d0b16 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Sun, 18 Feb 2024 21:12:39 +0100 Subject: [PATCH] FIX: reduced logging --- FHEM/98_NTFY_CLIENT.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/FHEM/98_NTFY_CLIENT.pm b/FHEM/98_NTFY_CLIENT.pm index 184fb28..cb91dfa 100644 --- a/FHEM/98_NTFY_CLIENT.pm +++ b/FHEM/98_NTFY_CLIENT.pm @@ -123,14 +123,10 @@ sub NTFY_Define $hash->{STATE} = "unknown"; $hash->{USERNAME} = $h->{user} || ""; $hash->{helper}{PASSWORD} = $h->{password}; - $hash->{DEFAULT_TOPIC} = $h->{topic}; my @topics; $hash->{helper}->{topics} = \@topics; - - NTFY_newSubscription($hash,$hash->{DEFAULT_TOPIC}); - return; } @@ -431,8 +427,6 @@ sub NTFY_Set { my ( $hash, $name, $cmd, @args ) = @_; - NTFY_LOG(LOG_ERROR, "CMD:" . $cmd); - if ($cmd eq "publish" ) { NTFY_LOG(LOG_ERROR, "full command: " . join(' ', @args));