TimeFrame repetition fix
This commit is contained in:
		| @@ -331,6 +331,15 @@ public class Rule implements Comparable<Rule> | ||||
| 		{ | ||||
| 			if (oneTrigger.hasStateNotAppliedSinceLastRuleExecution()) | ||||
| 				return true; | ||||
|  | ||||
| 			/* | ||||
| 				Workaround for repetition in TimeFrame triggers | ||||
| 			 */ | ||||
| 			if(oneTrigger.getTriggerType().equals(Trigger.Trigger_Enum.timeFrame)) | ||||
| 			{ | ||||
| 				if(oneTrigger.getTimeFrame().repetition > 0) | ||||
| 					return true; | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user