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:
parent
b549a2f429
commit
126f4f3624
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user