90_at.pm: generate Event on alignTime (Forum #43739)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9829 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-11-08 16:22:35 +00:00
parent c0d51fa940
commit bc4b4d9e10

View File

@@ -200,6 +200,8 @@ at_adjustAlign($$)
$hash->{TRIGGERTIME_FMT} = FmtDateTime($ttime);
$hash->{STATE} = "Next: " . FmtTime($ttime);
$hash->{NTM} = FmtTime($ttime);
readingsSingleUpdate($hash, "state", $hash->{STATE}, 1)
if(!IsDisabled($hash->{NAME}));
return undef;
}