diff --git a/business/powerUsageRules.py b/business/powerUsageRules.py index d3b5602..10602d9 100644 --- a/business/powerUsageRules.py +++ b/business/powerUsageRules.py @@ -1,6 +1,4 @@ - -class PowerUsageRules(): - +class PowerUsageRules: rules = [{'rule_id': 1, 'rule_name': "Pool Heating Threshold", 'rule_remaining_power_value': 1000, @@ -9,4 +7,4 @@ class PowerUsageRules(): 'action_device_name': 'PAC piscine', 'action_device_type': 'philips_hue' } - ] + ]