From 6654888d0460320159224c26c7240148f9adf18b Mon Sep 17 00:00:00 2001 From: jamesgo <> Date: Mon, 17 Oct 2016 20:27:11 +0000 Subject: [PATCH] 93_PWMR.pm : attribute tempFrostProtect is now evaluated git-svn-id: https://svn.fhem.de/fhem/trunk@12365 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/93_PWMR.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fhem/FHEM/93_PWMR.pm b/fhem/FHEM/93_PWMR.pm index 40a71b1da..eb73afb1b 100644 --- a/fhem/FHEM/93_PWMR.pm +++ b/fhem/FHEM/93_PWMR.pm @@ -36,6 +36,7 @@ # 28.09.16 GA add readings for tempRules (single reading for Mo to So) # 04.10.16 GA fix adjust readings for tempRules if temperature changes # 11.10.16 GA fix delete log entries for PWMR_NormalizeRules +# 17.10.16 GA fix attribute tempFrostProtect is now evaluated # module for PWM (Pulse Width Modulation) calculation @@ -1300,6 +1301,8 @@ PWMR_Attr(@) PWMR_NormalizeRules($hash); } elsif ($attrname eq "frostProtect") { $hash->{c_frostProtect} = 0; + } elsif ($attrname eq "tempFrostProtect") { + $hash->{c_tempFrostProtect} = 6; } elsif ($attrname eq "desiredTempFrom") { $hash->{c_desiredTempFrom} = ""; delete($hash->{d_name}); @@ -1376,6 +1379,9 @@ PWMR_Attr(@) } elsif ($attrname eq "tempEnergy") { # tempEnergy return PWMR_CheckTemp($hash, "c_tempE", $attrval); + } elsif ($attrname eq "tempFrostProtect") { # tempFrostProtect + return PWMR_CheckTemp($hash, "c_tempFrostProtect", $attrval); + } elsif ($attrname eq "tempRule1") { # tempRule1 return PWMR_CheckTempRule($hash, $attrname, "c_tempRule1", $attrval);