This commit is contained in:
Marko Oldenburg 2021-03-27 16:39:43 +01:00
parent eda1060eaa
commit d6f6b0c1bb
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
UPD 2021-03-27_15:47:11 6982 FHEM/46_TeslaPowerwall2AC.pm
UPD 2021-03-27_16:37:44 28867 lib/FHEM/Tesla/Powerwall.pm
UPD 2021-03-27_16:39:34 28868 lib/FHEM/Tesla/Powerwall.pm

View File

@ -393,7 +393,7 @@ sub Set {
return q{please set Attribut emailaddr first}
if ( AttrVal( $name, 'emailaddr', 'none' ) eq 'none' );
return qq(usage: ${cmd} pass=<password>) if ( scalar( @{$aArg} ) != 2
|| scalar(keys %{$hArg} != 1 );
|| scalar(keys %{$hArg}) != 1 );
StorePassword( $hash, $name, $hArg->{'pass'} );
return Timer_GetData($hash);