From 2e78ba6d5d3cc1736d84be6b0e6ac371d4d5781f Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 12 Nov 2024 17:50:08 +0000 Subject: [PATCH] adding for format_recomendations --- etl/customers/ksquared/Wave3 Modelling.py | 4 +++- etl/find_my_epc/RetrieveFindMyEpc.py | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/etl/customers/ksquared/Wave3 Modelling.py b/etl/customers/ksquared/Wave3 Modelling.py index c4858b5c..6a507728 100644 --- a/etl/customers/ksquared/Wave3 Modelling.py +++ b/etl/customers/ksquared/Wave3 Modelling.py @@ -175,6 +175,7 @@ def caha(): ).str.strip() # We Add POstcode as it wasn't populated - split on space and take the last two entries and re-concatenate on space + caha_asset_list["Street address"] = caha_asset_list["Street address"].str.strip() caha_asset_list["Postcode"] = caha_asset_list["Street address"].str.split(" ").str[-2:].str.join(" ") # Take just the columns we need caha_asset_list = caha_asset_list[["Address letter or number", "Street address", "Postcode"]] @@ -184,7 +185,8 @@ def caha(): # Pull the data from find my epc remap = { - "Flat A, 50 Talbot Road N6 4QP": "50a Talbot Road" + "Flat A, 50 Talbot Road N6 4QP": "50a Talbot Road", + "Flat A, 51 First Avenue EN1 1BN": "51a, First Avenue", } extracted_data = [] asset_list = [] diff --git a/etl/find_my_epc/RetrieveFindMyEpc.py b/etl/find_my_epc/RetrieveFindMyEpc.py index b2296a72..bcd3c356 100644 --- a/etl/find_my_epc/RetrieveFindMyEpc.py +++ b/etl/find_my_epc/RetrieveFindMyEpc.py @@ -231,6 +231,10 @@ class RetrieveFindMyEpc: ], "Solar water heating": ["solar_water_heating"], "Solar photovoltaic panels, 2.5 kWp": ["solar_pv"], + "Heating controls (room thermostat and TRVs)": [ + "roomstat_programmer_trvs", "time_temperature_zone_control" + ], + "Change heating to gas condensing boiler": ["boiler_upgrade"], } formatted_recommendations = []