mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-14 22:10:47 +00:00
91_sequence.pm: fixes
git-svn-id: https://svn.fhem.de/fhem/trunk@7257 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c232d6c28b
commit
b1c95a2a30
@ -47,7 +47,7 @@ sequence_Define($$)
|
|||||||
$hash->{RE} = $def[0];
|
$hash->{RE} = $def[0];
|
||||||
$hash->{IDX} = 0;
|
$hash->{IDX} = 0;
|
||||||
$hash->{MAX} = int(@def);
|
$hash->{MAX} = int(@def);
|
||||||
$hash->{STATE} = "initialized";
|
$hash->{STATE} = "active";
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,6 +83,7 @@ sequence_Notify($$)
|
|||||||
delete($hash->{EVENTS});
|
delete($hash->{EVENTS});
|
||||||
|
|
||||||
Log3 $ln, 5, "sequence $ln $tt";
|
Log3 $ln, 5, "sequence $ln $tt";
|
||||||
|
setReadingsVal($hash, "state", "active", TimeNow());
|
||||||
DoTrigger($ln, $tt);
|
DoTrigger($ln, $tt);
|
||||||
$idx = 0;
|
$idx = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user