mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 23:09:26 +00:00
structure: relativeKnown bug fix: http://forum.fhem.de/index.php?topic=18293.new;topicseen#new
git-svn-id: https://svn.fhem.de/fhem/trunk@4557 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5f2bea886d
commit
03120b170a
@ -199,14 +199,19 @@ sub structure_Notify($$)
|
||||
if(defined($devstate) && $devstate =~ m/^$value[0]/){
|
||||
$devstate = $value[1];
|
||||
$i=99999; # RKO: ??
|
||||
} else {
|
||||
$devstate = undef;
|
||||
}
|
||||
|
||||
} elsif(@value == 3) { # value[0]:value[1] -> value[2]
|
||||
$devstate = ReadingsVal($d, $value[0], undef);
|
||||
if(defined($devstate) && $devstate =~ m/^$value[1]/){
|
||||
$devstate = $value[2];
|
||||
} else {
|
||||
$devstate = undef;
|
||||
}
|
||||
}
|
||||
|
||||
if(defined($devstate)) {
|
||||
if(!$priority{$devstate} && $behavior eq "relativeKnown") {
|
||||
delete($hash->{INNTFY});
|
||||
|
Loading…
x
Reference in New Issue
Block a user