From be105ac267ad484edf766ec58f265de782ef428c Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 10 Jul 2024 01:34:18 +0100 Subject: [PATCH] Added cylinder thermostat to create_recommendation_scoring_data --- backend/Property.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/Property.py b/backend/Property.py index b1cf2d16..eadefc48 100644 --- a/backend/Property.py +++ b/backend/Property.py @@ -521,6 +521,7 @@ class Property: if recommendation["type"] in [ "heating", "hot_water_tank_insulation", "heating_control", "secondary_heating", "internal_wall_insulation", "external_wall_insulation", "cavity_wall_insulation", + "cylinder_thermostat" ]: # We update the data, as defined in the recommendaton if output["walls_insulation_thickness_ending"] is None: @@ -544,7 +545,7 @@ class Property: "loft_insulation", "room_roof_insulation", "flat_roof_insulation", "solid_floor_insulation", "suspended_floor_insulation", "exposed_floor_insulation", "windows_glazing", "solar_pv", "heating", "hot_water_tank_insulation", - "heating_control", "secondary_heating" + "heating_control", "secondary_heating", "cylinder_thermostat" ]: raise NotImplementedError( "Implement me, given type %s" % recommendation["type"]