This commit is contained in:
Sebastian 2021-05-29 23:28:34 +02:00
parent b5d2a29a9f
commit e064c7f57f
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,2 @@
UPD 2021-05-29_23:25:02 5197 FHEM/73_HailoLibero.pm
UPD 2021-05-29_23:24:51 11567 lib/FHEM/Hailo/Libero.pm
UPD 2021-05-29_23:28:10 11675 lib/FHEM/Hailo/Libero.pm

View File

@ -203,7 +203,9 @@ sub Set {
my $cmd = shift @$aArg // return qq{"set $name" needs at least one argument};
if ( lc $cmd eq 'password' ) {
return qq{error set libero ip first}
if ( AttrVal( $name, 'LiberoIP', 'none' ) eq 'none' );
my ($passResp,$passErr);
($passResp,$passErr) = $hash->{helper}->{passObj}->setStorePassword($name,$aArg->[0]);