mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
94_PWM.pm : fix for maxOffTimeMode
git-svn-id: https://svn.fhem.de/fhem/trunk@23992 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dea3904eb6
commit
afad198d91
@ -42,6 +42,7 @@
|
|||||||
# 01.02.21 GA fix move reading maxOffTimeCalculation into an attribute and internal values
|
# 01.02.21 GA fix move reading maxOffTimeCalculation into an attribute and internal values
|
||||||
# 11.03.21 GA fix prevent parallel InternalTimer calls
|
# 11.03.21 GA fix prevent parallel InternalTimer calls
|
||||||
# 14.03.21 GA fix change order of PWMR processing for maxOffTime handling
|
# 14.03.21 GA fix change order of PWMR processing for maxOffTime handling
|
||||||
|
# 18.03.21 GA fix maxOffTime handling bug in restriction of max rooms on
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
# $Id$
|
# $Id$
|
||||||
@ -300,7 +301,6 @@ PWM_Calculate($)
|
|||||||
if ($RoomsMaxOffTimeProtect{$d} eq "off_mop") {
|
if ($RoomsMaxOffTimeProtect{$d} eq "off_mop") {
|
||||||
$RoomsToSwitchOff{$d} = 1;
|
$RoomsToSwitchOff{$d} = 1;
|
||||||
$RoomsPulses{$d} = 0;
|
$RoomsPulses{$d} = 0;
|
||||||
$maxOffTimeCnt--;
|
|
||||||
|
|
||||||
} elsif ($RoomsMaxOffTimeProtect{$d} eq "on_mop_stay") {
|
} elsif ($RoomsMaxOffTimeProtect{$d} eq "on_mop_stay") {
|
||||||
$RoomsToStayOn{$d} = 1;
|
$RoomsToStayOn{$d} = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user