mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
98_DOIFtools.pm: fixed empty N_timer (Forum 63938.msg642251)
git-svn-id: https://svn.fhem.de/fhem/trunk@14441 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dcb4590d79
commit
f1ed73194b
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 98_DOIFtools: fixed empty N_timer
|
||||
- bugfix: 37_Spotify: fixed offset playContextByURI
|
||||
- bugfix: 38_CO20: fixed reconnects, improved stability
|
||||
- feature: 37_Spotify: album cover, new attr, return error to reading
|
||||
|
@ -44,7 +44,7 @@ sub DOIFtools_logWrapper($);
|
||||
sub DOIFtoolsCounterReset($);
|
||||
sub DOIFtoolsDeleteStatReadings;
|
||||
|
||||
my @DOIFtools_we =();
|
||||
my @DOIFtools_we = [0,0,0,0,0,0,0,0];
|
||||
my $DOIFtoolsJSfuncEM = <<'EOF';
|
||||
<script type="text/javascript">
|
||||
//functions
|
||||
@ -569,7 +569,7 @@ sub DOIFtools_Notify($$) {
|
||||
my $b;
|
||||
for (my $i = 0; $i < 8; $i++) {
|
||||
$DOIFtools_we[$i] = 0;
|
||||
$val = CommandGet(undef,"get $sn days $i");
|
||||
$val = CommandGet(undef,"$sn days $i");
|
||||
if($val) {
|
||||
($a, $b) = ReplaceEventMap($sn, [$sn, $val], 0);
|
||||
$DOIFtools_we[$i] = 1 if($b ne "none");
|
||||
@ -739,6 +739,7 @@ sub DOIFtoolsNextTimer {
|
||||
}
|
||||
$ilook++;
|
||||
}
|
||||
Log 1, "DOIFtoolsNextTimer: ".join(" ",@DOIFtools_we);
|
||||
}
|
||||
|
||||
sub DOIFtoolsNxTimer {
|
||||
|
Loading…
x
Reference in New Issue
Block a user