change create FHEM::Core::Authentication::Passwords object

new modul API for FHEM::Core::Authentication::Passwords
This commit is contained in:
Marko Oldenburg 2021-04-23 02:53:33 +02:00
parent ad72e9a26d
commit 7bdd6eeb7f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);