2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

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:
markusbloch 2017-10-22 11:32:19 +00:00
parent b549a2f429
commit 126f4f3624

View File

@ -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);
}