mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
98_DOIF.pm: Timer: wdays 0 fixed, card: undefined $dim fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@26703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7f98150cc4
commit
b748563be5
@ -2081,6 +2081,7 @@ DOIF_CheckTimers($$$$)
|
||||
my $intervaltimer;
|
||||
|
||||
$timer =~ s/\s//g;
|
||||
|
||||
($timer,$days)=SplitDoIf('|',$timer);
|
||||
$days="" if (!defined $days);
|
||||
($timer,$intervaltimer)=SplitDoIf(',',$timer);
|
||||
@ -2151,7 +2152,7 @@ sub DOIF_getTime {
|
||||
$hash->{timer}{$nr}=0;
|
||||
$hash->{time}{$nr}=$time;
|
||||
$hash->{timeCond}{$nr}=$condition;
|
||||
$hash->{days}{$nr}=$days if ($days);
|
||||
$hash->{days}{$nr}=$days if ($days ne "");
|
||||
$hash->{timers}{$condition}.=" $nr " if ($trigger);
|
||||
}
|
||||
|
||||
@ -4897,7 +4898,9 @@ sub card
|
||||
if (!defined $value1[0]{value}) {
|
||||
return("");
|
||||
}
|
||||
|
||||
if (!defined $dim) {
|
||||
return("");
|
||||
}
|
||||
|
||||
my $bheight=73;
|
||||
my $htrans=0;
|
||||
|
Loading…
Reference in New Issue
Block a user