fix unused value
This commit is contained in:
parent
c1c1342fcc
commit
1d96ec9501
@ -63,7 +63,7 @@ use POSIX;
|
|||||||
use FHEM::Meta;
|
use FHEM::Meta;
|
||||||
|
|
||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
our $VERSION = '1.6.7';
|
our $VERSION = '1.6.8';
|
||||||
|
|
||||||
my $missingModul = '';
|
my $missingModul = '';
|
||||||
eval "use Encode qw(encode encode_utf8 decode_utf8);1"
|
eval "use Encode qw(encode encode_utf8 decode_utf8);1"
|
||||||
@ -1126,7 +1126,8 @@ sub createHttpValueStrings($@) {
|
|||||||
if ( $payload eq '{}' ) {
|
if ( $payload eq '{}' ) {
|
||||||
$method = 'GET';
|
$method = 'GET';
|
||||||
$uri .= '/locations/?user_id=' . $hash->{helper}{user_id}
|
$uri .= '/locations/?user_id=' . $hash->{helper}{user_id}
|
||||||
if ( not defined( $hash->{helper}{locations_id} ) );
|
if ( exists($hash->{helper}{user_id})
|
||||||
|
and not defined( $hash->{helper}{locations_id} ) );
|
||||||
readingsSingleUpdate( $hash, 'state', 'fetch locationId', 1 )
|
readingsSingleUpdate( $hash, 'state', 'fetch locationId', 1 )
|
||||||
if ( not defined( $hash->{helper}{locations_id} ) );
|
if ( not defined( $hash->{helper}{locations_id} ) );
|
||||||
$uri .= '/sessions' if ( not defined( $hash->{helper}{session_id} ) );
|
$uri .= '/sessions' if ( not defined( $hash->{helper}{session_id} ) );
|
||||||
|
@ -680,7 +680,7 @@ sub ReadingLangGerman($$) {
|
|||||||
'paused' => 'pausiert',
|
'paused' => 'pausiert',
|
||||||
'ok_searching' => 'suche Ladestation',
|
'ok_searching' => 'suche Ladestation',
|
||||||
'ok_charging' => 'lädt',
|
'ok_charging' => 'lädt',
|
||||||
'ok_leaving' => 'mähen',
|
'ok_leaving' => 'unterwegs zum Startpunkt',
|
||||||
'wait_updating' => 'wird aktualisiert ...',
|
'wait_updating' => 'wird aktualisiert ...',
|
||||||
'wait_power_up' => 'wird eingeschaltet ...',
|
'wait_power_up' => 'wird eingeschaltet ...',
|
||||||
'parked_timer' => 'geparkt nach Zeitplan',
|
'parked_timer' => 'geparkt nach Zeitplan',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user