From 7bdd6eeb7f5788a8d7b8b0a43c6e6e324c947253 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Fri, 23 Apr 2021 02:53:33 +0200 Subject: [PATCH] change create FHEM::Core::Authentication::Passwords object new modul API for FHEM::Core::Authentication::Passwords --- controls_TeslaPowerwall2AC.txt | 2 +- lib/FHEM/Tesla/Powerwall.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controls_TeslaPowerwall2AC.txt b/controls_TeslaPowerwall2AC.txt index 6177318..681f04f 100644 --- a/controls_TeslaPowerwall2AC.txt +++ b/controls_TeslaPowerwall2AC.txt @@ -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 diff --git a/lib/FHEM/Tesla/Powerwall.pm b/lib/FHEM/Tesla/Powerwall.pm index f5f6e9d..873cc2e 100644 --- a/lib/FHEM/Tesla/Powerwall.pm +++ b/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);