PRESENCE: don't overwrite STATE in mode "event" (Forum: #69423)
git-svn-id: https://svn.fhem.de/fhem/trunk@15302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -183,7 +183,7 @@ PRESENCE_Define($$)
|
||||
$hash->{MODE} = "event";
|
||||
$hash->{EVENT_ABSENT} = $a[3];
|
||||
$hash->{EVENT_PRESENT} = $a[4];
|
||||
$hash->{STATE} = "Initialized";
|
||||
$hash->{STATE} = "Initialized" if($init_done);
|
||||
|
||||
InternalTimer(gettimeofday(), "PRESENCE_setNotfiyDev", $hash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user