mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
remove unnecessary log messages
git-svn-id: https://svn.fhem.de/fhem/trunk@3790 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3ec609ef93
commit
c03bb6586e
@ -21,9 +21,7 @@ sub
|
||||
gcmsend_set {
|
||||
my ($hash, @a) = @_;
|
||||
my $v = @a[1];
|
||||
Log 3, $v;
|
||||
if ($v eq "delete_saved_states") {
|
||||
Log 3, $hash->{STATES}{'mat_halogen'};
|
||||
$hash->{STATES} = {};
|
||||
return "deleted";
|
||||
} else {
|
||||
@ -93,9 +91,8 @@ sub gcmsend_message($$$) {
|
||||
if (! $response->is_success) {
|
||||
Log 3, "error during request: " . $response->status_line;
|
||||
$hash->{STATE} = $response->status_line;
|
||||
} elsif ($hash->{STATE} != "OK") {
|
||||
$hash->{STATE} = "OK";
|
||||
}
|
||||
$hash->{STATE} = "OK";
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user