mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
Code PAS Hub Bulk LPG and Mains Gas main-fuel labels to SAP codes 🟩
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c489dfcb29
commit
7072499b2e
1 changed files with 8 additions and 0 deletions
|
|
@ -7112,6 +7112,14 @@ class UnmappedPasHubLabel(ValueError):
|
|||
# (ADR-0015) rather than being silently mis-billed downstream.
|
||||
_PASHUB_MAIN_FUEL_TO_SAP10: Dict[str, int] = {
|
||||
"Mains gas": 26, # matches the Elmhurst mapper's mains-gas code
|
||||
# The newer PasHub site-note form lodges the fuel under a `Fuel:` label with
|
||||
# a capitalised value; same fuel, same code as "Mains gas" above (#1558).
|
||||
"Mains Gas": 26,
|
||||
# Bulk LPG → Table 32 code 2 (bulk LPG); 27 = epc_codes `main_fuel` "LPG
|
||||
# (not community)", the same code the Elmhurst map pins for "Bulk LPG"
|
||||
# (see `_ELMHURST_MAIN_FUEL_TO_SAP10`). Last residual cohort label that
|
||||
# parse-raised `UnmappedPasHubLabel` (#1558).
|
||||
"Bulk LPG": 27,
|
||||
"Electricity": 30, # the standard-electricity fuel code
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue