mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
debugging ha7 eligibiltiy
This commit is contained in:
parent
a7c9510747
commit
66ad7c3a14
1 changed files with 16 additions and 0 deletions
|
|
@ -235,6 +235,14 @@ class Eligibility:
|
|||
}
|
||||
|
||||
def suspended_floor_insulation(self):
|
||||
|
||||
if "no_data" in self.floor.keys():
|
||||
if self.floor["no_data"]:
|
||||
self.suspended_floor = {
|
||||
"suitability": False,
|
||||
}
|
||||
return
|
||||
|
||||
is_suspended = self.floor["is_suspended"]
|
||||
is_insulated = self.floor["insulation_thickness"] in ["average", "above average"]
|
||||
|
||||
|
|
@ -244,6 +252,14 @@ class Eligibility:
|
|||
return
|
||||
|
||||
def solid_floor_insulation(self):
|
||||
|
||||
if "no_data" in self.floor.keys():
|
||||
if self.floor["no_data"]:
|
||||
self.solid_floor = {
|
||||
"suitability": False,
|
||||
}
|
||||
return
|
||||
|
||||
is_solid = self.floor["is_solid"]
|
||||
is_insulated = self.floor["insulation_thickness"] in ["average", "above average"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue