testing #10
@ -1,2 +1,2 @@
|
|||||||
UPD 2021-04-20_21:40:31 6866 FHEM/46_TeslaPowerwall2AC.pm
|
UPD 2021-04-20_21:40:31 6866 FHEM/46_TeslaPowerwall2AC.pm
|
||||||
UPD 2021-04-20_21:40:44 30162 lib/FHEM/Tesla/Powerwall.pm
|
UPD 2021-04-20_21:50:19 30167 lib/FHEM/Tesla/Powerwall.pm
|
||||||
|
@ -207,12 +207,12 @@ qq(TeslaPowerwall2AC \(${name}\) - defined TeslaPowerwall2AC Device with Host ${
|
|||||||
($passResp,$passErr) = $hash->{helper}->{passObj}->setStorePassword($name,ReadPassword( $hash, $name ));
|
($passResp,$passErr) = $hash->{helper}->{passObj}->setStorePassword($name,ReadPassword( $hash, $name ));
|
||||||
|
|
||||||
::Log3($name, 1,
|
::Log3($name, 1,
|
||||||
qq(TeslaPowerwall2AC \(${name}\) - error while saving the password - $passErr)
|
qq(TeslaPowerwall2AC \(${name}\) - error while saving the password - $passErr))
|
||||||
if ( !defined($passResp)
|
if ( !defined($passResp)
|
||||||
and defined($passErr) );
|
and defined($passErr) );
|
||||||
|
|
||||||
::Log3($name, 1,
|
::Log3($name, 1,
|
||||||
qq(TeslaPowerwall2AC \(${name}\) - password successfully saved)
|
qq(TeslaPowerwall2AC \(${name}\) - password successfully saved))
|
||||||
if ( defined($passResp)
|
if ( defined($passResp)
|
||||||
and !defined($passErr) );
|
and !defined($passErr) );
|
||||||
|
|
||||||
@ -436,7 +436,7 @@ sub Set {
|
|||||||
|
|
||||||
$list .= 'powerwalls:run,stop'
|
$list .= 'powerwalls:run,stop'
|
||||||
if ( ::AttrVal( $name, 'devel', 0 ) == 1
|
if ( ::AttrVal( $name, 'devel', 0 ) == 1
|
||||||
exists($hash->{helper}->{passObj})
|
&& exists($hash->{helper}->{passObj})
|
||||||
&& exists($hash->{helper}->{passObj})
|
&& exists($hash->{helper}->{passObj})
|
||||||
&& defined($hash->{helper}->{passObj}->getReadPassword($name))
|
&& defined($hash->{helper}->{passObj}->getReadPassword($name))
|
||||||
&& defined($hash->{TOKEN}) );
|
&& defined($hash->{TOKEN}) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user