mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 07:44:19 +00:00
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:
parent
bd0f8c8e62
commit
9a11375a43
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user