def get_rules(self): return AndRules([ Rule( OpConstraint('ChargeAPI.chargeOffer', OpConstraint.OPS['ISSET'], None, DEFAULT_TYPE, Constraint.VALUE_TYPE['RAW'])) ])
def get_rules(self): return OrRules([ Rule( OpConstraint('anyfeature', OpConstraint.OPS['ISSET'], None, 'anytype', Constraint.VALUE_TYPE['RAW'])) ])
def get_trigger_rules(self): return Rule( OpConstraint('anyfeature', OpConstraint.OPS['ISSET'], None, 'anytype', VALUE_TYPE_RAW))
def get_rules(self): return AndRules([ Rule(ChangeConstraint('temp', 'kuehlschrank', Constraint.VALUE_TYPE['RAW'])) ])