mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +00:00
98_WeekdayTimer, 98_Heating_Control: issue from post http://forum.fhem.de/index.php/topic,47848.msg395069.html#msg395069 repaired
git-svn-id: https://svn.fhem.de/fhem/trunk@10596 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1688f22cf2
commit
f9f3424614
@ -450,7 +450,8 @@ E: while (@$a > 0) {
|
||||
$element = substr ($element, 0, length($element)-1);
|
||||
my @t = split(/\|/, $element);
|
||||
my $anzahl = @t;
|
||||
if ( $anzahl >= 2 && $anzahl <= 3) {
|
||||
|
||||
if ( ($anzahl == 2 || $anzahl == 3) && $t[0] gt "" && $t[1] gt "" ) {
|
||||
Log3 $hash, 4, "[$name] $element - accepted";
|
||||
push(@switchingtimes, $element);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user