change create FHEM::Core::Authentication::Passwords object
new modul API for FHEM::Core::Authentication::Passwords
This commit is contained in:
parent
ad72e9a26d
commit
7bdd6eeb7f
@ -1,2 +1,2 @@
|
||||
UPD 2021-04-22_08:19:01 6866 FHEM/46_TeslaPowerwall2AC.pm
|
||||
UPD 2021-04-22_08:24:27 29401 lib/FHEM/Tesla/Powerwall.pm
|
||||
UPD 2021-04-23_02:53:21 29414 lib/FHEM/Tesla/Powerwall.pm
|
||||
|
@ -200,7 +200,7 @@ sub Define {
|
||||
qq(TeslaPowerwall2AC \(${name}\) - defined TeslaPowerwall2AC Device with Host ${host} and Interval $hash->{INTERVAL}));
|
||||
|
||||
### create password object to handle pass keystore
|
||||
$hash->{helper}->{passObj} = FHEM::Core::Authentication::Passwords->new();
|
||||
$hash->{helper}->{passObj} = FHEM::Core::Authentication::Passwords->new($hash->{TYPE});
|
||||
|
||||
if ( defined( ReadPassword( $hash, $name ) ) ) {
|
||||
my ($passResp,$passErr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user