whitespace at the end of lines removed

This commit is contained in:
Philipp Wo 2020-04-20 00:36:32 +02:00
parent d9bfbd0038
commit 8154b435d5
1 changed files with 71 additions and 71 deletions

View File

@ -552,7 +552,7 @@ sub TadoAPI_TokenRefresh(@) {
close($TOKENFILE);
# token lifetime management
$hash->{TOKEN_LIFETIME} = gettimeofday() + $decoded_data->{'expires_in'};
$hash->{TOKEN_LIFETIME} = gettimeofday() + $decoded_data->{'expires_in'};
$hash->{TOKEN_LIFETIME_HR} = localtime($hash->{TOKEN_LIFETIME});
Log3 $name, 5, "TadoAPI $name" . ": " . "TokenRefresh: Refreshed authentication token successfully. Valid until " . localtime($hash->{TOKEN_LIFETIME});
$hash->{STATE}="reachable";