mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
added future todo for measure types
This commit is contained in:
parent
84aef79735
commit
73928c67c5
1 changed files with 1 additions and 0 deletions
|
|
@ -1053,6 +1053,7 @@ async def model_engine(body: PlanTriggerRequest):
|
||||||
property_required_measures = [m for m in recommendations[p.id] if m[0]["type"] in body.required_measures]
|
property_required_measures = [m for m in recommendations[p.id] if m[0]["type"] in body.required_measures]
|
||||||
measures_to_optimise = [m for m in recommendations[p.id] if m[0]["type"] not in body.required_measures]
|
measures_to_optimise = [m for m in recommendations[p.id] if m[0]["type"] not in body.required_measures]
|
||||||
|
|
||||||
|
# TODO - formalise property measure types into an enum
|
||||||
ventilation_included = (
|
ventilation_included = (
|
||||||
"ventilation" in property_measure_types or "mechanical_ventilation" in property_measure_types
|
"ventilation" in property_measure_types or "mechanical_ventilation" in property_measure_types
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue