Decode bottled/special LPG, community electric/biomass, dual-fuel, smokeless coal 🟩

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jun-te Kim 2026-06-19 14:18:55 +00:00
parent b7d2cff220
commit 21bb55f414
2 changed files with 12 additions and 0 deletions

View file

@ -17,7 +17,13 @@ class MainFuelType(Enum):
MAINS_GAS = "mains gas"
MAINS_GAS_COMMUNITY = "mains gas (community)"
ELECTRICITY = "electricity"
ELECTRICITY_COMMUNITY = "electricity (community)"
LPG_BULK = "LPG (bulk)"
LPG_BOTTLED = "bottled LPG"
LPG_SPECIAL_CONDITION = "LPG special condition"
OIL = "oil"
HOUSE_COAL = "house coal"
SMOKELESS_COAL = "smokeless coal"
DUAL_FUEL_MINERAL_WOOD = "dual fuel (mineral and wood)"
BIOMASS_COMMUNITY = "biomass (community)"
UNKNOWN = "Unknown"

View file

@ -20,9 +20,15 @@ _FUEL_CODES: dict[str, int] = {
"mains gas": 26,
"mains gas (community)": 20,
"LPG (bulk)": 27,
"bottled LPG": 3,
"LPG special condition": 17,
"oil": 28,
"electricity": 29,
"electricity (community)": 25,
"house coal": 33,
"smokeless coal": 15,
"dual fuel (mineral and wood)": 10,
"biomass (community)": 31,
}