mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +00:00
Fix from Tobias
git-svn-id: https://svn.fhem.de/fhem/trunk@1986 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
65e67284c6
commit
4526983ab6
@ -225,6 +225,7 @@ sub structure_Notify($$)
|
|||||||
$newState = "undefined";
|
$newState = "undefined";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete($hash->{INSET});
|
||||||
|
|
||||||
#eigenen Status jetzt setzen, nur wenn abweichend
|
#eigenen Status jetzt setzen, nur wenn abweichend
|
||||||
if(!defined($hash->{STATE}) || ($hash->{STATE} ne $newState)) {
|
if(!defined($hash->{STATE}) || ($hash->{STATE} ne $newState)) {
|
||||||
@ -235,10 +236,6 @@ sub structure_Notify($$)
|
|||||||
readingsUpdate($hash, "state", $newState);
|
readingsUpdate($hash, "state", $newState);
|
||||||
readingsEndUpdate($hash, 1);
|
readingsEndUpdate($hash, 1);
|
||||||
}
|
}
|
||||||
#Log 1, "devstate: ".$devstate." - minprio final: " . $minprio . "\n";
|
|
||||||
#Log 1, Dumper(%priority);
|
|
||||||
delete($hash->{INSET});
|
|
||||||
|
|
||||||
undef;
|
undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user