mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +00:00
93_PWMR.pm : attribute tempFrostProtect is now evaluated
git-svn-id: https://svn.fhem.de/fhem/trunk@12365 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4997d03740
commit
6654888d04
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user