From 5adc27878c68ca75e4c20ec3278084c5660eaa95 Mon Sep 17 00:00:00 2001 From: Beta-User <> Date: Sun, 8 Dec 2019 04:49:25 +0000 Subject: [PATCH] 98_Heating_Control: bugfix in converter code, forum #106085 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20678 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_Heating_Control.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/98_Heating_Control.pm b/FHEM/98_Heating_Control.pm index 8b68a4978..3d0876d55 100644 --- a/FHEM/98_Heating_Control.pm +++ b/FHEM/98_Heating_Control.pm @@ -136,7 +136,7 @@ sub Heating_Control_ConvertToWDT() { my @b = GetAllReadings($hcName); CommandDelete(undef,$hcName); CommandDefine(undef,"$hcName WeekdayTimer $definition"); - CommandAttr(undef, "$hcName WDT_delayedExecutionDevices $windows"); + CommandAttr(undef, "$hcName WDT_delayedExecutionDevices $windows") if defined $windows; CommandAttr(undef, "$hcName WDT_Group former_HC"); foreach my $linesa ( @a ){ AnalyzeCommand(undef, "$linesa") unless ($linesa =~ m/^attr $hcName windowSensor/);