98_Siro.pm:Fix Use of uninitialized value
git-svn-id: https://svn.fhem.de/fhem/trunk@15944 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -743,6 +743,7 @@ sub Siro_Attr(@)
|
||||
}
|
||||
|
||||
my $oldstate =$hash->{helper}{position};
|
||||
if(!defined $oldstate){$oldstate=0};
|
||||
my $newState = $oldstate;
|
||||
my $updateState;
|
||||
Log3 $hash, 3, "Siro_Attr: state old -> $oldstate new -> $newState";
|
||||
|
||||
Reference in New Issue
Block a user