added measure type to some controls recommendations

This commit is contained in:
Khalim Conn-Kowlessar 2024-10-03 10:54:46 +01:00
parent 9b6f8c4864
commit feb60537c0
2 changed files with 3 additions and 0 deletions

View file

@ -64,6 +64,7 @@ MEASURE_MAP = {
"floor_insulation": ["suspended_floor_insulation", "solid_floor_insulation"],
"heating": ["boiler_upgrade", "high_heat_retention_storage_heater", "air_source_heat_pump"],
"windows": ["double_glazing", "secondary_glazing"],
"heating_controls": ["roomstat_programmer_trvs", "time_temperature_zone_control"]
}

View file

@ -216,6 +216,7 @@ class HeatingControlRecommender:
self.recommendation.append(
{
"type": "heating_control",
"measure_type": "roomstat_programmer_trvs",
"parts": [],
"description": description,
**cost_result,
@ -289,6 +290,7 @@ class HeatingControlRecommender:
self.recommendation.append(
{
"type": "heating_control",
"measure_type": "time_temperature_zone_control",
"parts": [],
"description": description,
**cost_result,