diff --git a/FHEM/98_structure.pm b/FHEM/98_structure.pm index 118b73eb4..e37669000 100755 --- a/FHEM/98_structure.pm +++ b/FHEM/98_structure.pm @@ -225,6 +225,7 @@ sub structure_Notify($$) $newState = "undefined"; } + delete($hash->{INSET}); #eigenen Status jetzt setzen, nur wenn abweichend if(!defined($hash->{STATE}) || ($hash->{STATE} ne $newState)) { @@ -235,10 +236,6 @@ sub structure_Notify($$) readingsUpdate($hash, "state", $newState); readingsEndUpdate($hash, 1); } - #Log 1, "devstate: ".$devstate." - minprio final: " . $minprio . "\n"; - #Log 1, Dumper(%priority); - delete($hash->{INSET}); - undef; }