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