From ec809b5e9ac3a4d39b52b81288008bbb44a0b00f Mon Sep 17 00:00:00 2001 From: dwindleduck <119227220+dwindleduck@users.noreply.github.com> Date: Wed, 11 Sep 2024 00:05:30 +0000 Subject: [PATCH] for natural gas bills, set june to be allowed in Non-Heating-Usage bills but not included by default Co-authored-by: eriksynn Co-authored-by: thatoldplatitude --- rules-engine/src/rules_engine/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules-engine/src/rules_engine/engine.py b/rules-engine/src/rules_engine/engine.py index 9f92fbae..cc9cfbd1 100644 --- a/rules-engine/src/rules_engine/engine.py +++ b/rules-engine/src/rules_engine/engine.py @@ -238,7 +238,7 @@ def _date_to_analysis_type_natural_gas(d: date) -> tuple[AnalysisType, bool]: 3: AnalysisType.ALLOWED_HEATING_USAGE, 4: AnalysisType.ALLOWED_HEATING_USAGE, 5: AnalysisType.NOT_ALLOWED_IN_CALCULATIONS, - 6: AnalysisType.NOT_ALLOWED_IN_CALCULATIONS, + 6: AnalysisType.ALLOWED_NON_HEATING_USAGE, 7: AnalysisType.ALLOWED_NON_HEATING_USAGE, 8: AnalysisType.ALLOWED_NON_HEATING_USAGE, 9: AnalysisType.ALLOWED_NON_HEATING_USAGE,