98_WeekdayTimer: minor improvments
git-svn-id: https://svn.fhem.de/fhem/trunk@12895 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
##############################################################################
|
||||
#
|
||||
# 98_WeekdayTimer.pm
|
||||
# written by Dietmar Ortmann(Orti)
|
||||
# written by Dietmar Ortmann
|
||||
# modified by Tobias Faust
|
||||
#
|
||||
# This file is part of fhem.
|
||||
@@ -791,8 +791,10 @@ sub WeekdayTimer_isHeizung($) {
|
||||
my $allSets = getAllSets($dName);
|
||||
|
||||
foreach my $ts (@tempSet) {
|
||||
Log3 $hash, 4, "[$name] device type heating recognized, setModifier:$ts";
|
||||
return $ts if ($allSets =~ m/$ts/);
|
||||
if ($allSets =~ m/$ts/) {
|
||||
Log3 $hash, 4, "[$name] device type heating recognized, setModifier:$ts";
|
||||
return $ts
|
||||
}
|
||||
}
|
||||
}
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user