diff --git a/73_GardenaSmartBridge.pm b/73_GardenaSmartBridge.pm index 4ac3064..6e387ce 100644 --- a/73_GardenaSmartBridge.pm +++ b/73_GardenaSmartBridge.pm @@ -419,12 +419,12 @@ sub Set { elsif ( lc $cmd eq 'gardenaaccountpassword' ) { return "please set Attribut gardenaAccountEmail first" if ( AttrVal( $name, 'gardenaAccountEmail', 'none' ) eq 'none' ); - return "usage: $cmd " if ( scalar( @{$a} ) != 0 ); + return "usage: $cmd " if ( scalar( @{$a} ) != 1 ); StorePassword( $hash, $name, $a->[0] ); } elsif ( lc $cmd eq 'deleteaccountpassword' ) { - return "usage: $cmd " if ( scalar( @{$a} ) != 0 ); + return "usage: $cmd" if ( scalar( @{$a} ) != 0 ); DeletePassword($hash); } @@ -1375,7 +1375,7 @@ sub DeletePassword { ], "release_status": "stable", "license": "GPL_2", - "version": "v2.0.0", + "version": "v2.0.1", "author": [ "Marko Oldenburg " ], diff --git a/74_GardenaSmartDevice.pm b/74_GardenaSmartDevice.pm index 1aa9728..a95bcfe 100644 --- a/74_GardenaSmartDevice.pm +++ b/74_GardenaSmartDevice.pm @@ -1212,7 +1212,7 @@ sub SetPredefinedStartPoints { ], "release_status": "stable", "license": "GPL_2", - "version": "v2.0.1", + "version": "v2.0.2", "author": [ "Marko Oldenburg " ],