FIX: reduced logging

This commit is contained in:
Dominik Meyer 2024-02-18 21:12:39 +01:00
parent 68b3247c23
commit 0f555f7fad
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -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));