fix hoook

This commit is contained in:
Sebastian 2021-05-16 21:33:02 +02:00
parent e87d4376a9
commit 6648070b81
4 changed files with 8 additions and 8 deletions

View File

@ -74,14 +74,13 @@ sub Initialize {
return FHEM::Meta::InitMod( __FILE__, $hash ); return FHEM::Meta::InitMod( __FILE__, $hash );
} }
1; 1;
=pod =pod
=item device =item device
=item summary Modul to communicate with the GardenaCloud =item summary Modul to communicate with the Hailo Libero
=item summary_DE Modul zur Datenübertragung zur GardenaCloud =item summary_DE Modul zur Datenübertragung zur Hailo Libero
=begin html =begin html

2
controls_HailiLibero.txt Normal file
View File

@ -0,0 +1,2 @@
UPD 2021-05-16_21:32:44 4327 FHEM/73_HailoLibero.pm
UPD 2021-05-16_21:32:52 6435 lib/FHEM/Hailo/Libero.pm

6
hooks/pre-commit Normal file → Executable file
View File

@ -5,11 +5,11 @@ use POSIX qw(strftime);
use strict; use strict;
my @filenames = ( my @filenames = (
'FHEM/73_GardenaSmartBridge2.pm', 'FHEM/73_HailoLibero.pm',
'lib/FHEM/Gardena/SmartBridge.pm', 'lib/FHEM/Hailo/Libero.pm',
); );
my $controlsfile = 'controls_GardenaSmart.txt'; my $controlsfile = 'controls_HailiLibero.txt';
open(FH, ">$controlsfile") || return("Can't open $controlsfile: $!"); open(FH, ">$controlsfile") || return("Can't open $controlsfile: $!");

View File

@ -146,8 +146,7 @@ sub Set {
return q{password successfully saved} return q{password successfully saved}
if ( defined($passResp) if ( defined($passResp)
and !defined($passErr) ); and !defined($passErr) );
} }
else { else {
my $list = "hailopwd " my $list = "hailopwd "