mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
PRD #1385, heating-controls family. The 17.0 API mapper omitted main_heating_controls entirely, leaving the domain field None while the 19.0/20.0/21.x paths map the first lodged control via _map_energy_element. 17.0 lodges main_heating_controls (List[EnergyElement]) in all 23 local fixtures. The mapped element is the same EnergyElement type 17.0 already carries for main_heating / window, so this is straight parity (not new logic). Guarded on a non-empty list -> None, matching the siblings. Verification: new test 2 passed; test_mapper_corpus 6002 passed; recommendation + heating-control tests 85 passed (the domain EnergyElement field is distinct from the subscriptable dict HeatingControlRecommender reads via the Property wrapper, so no recommender destabilisation); SAP-accuracy regressions pass; pyright unchanged (39 -> 39, pre-existing). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| epc | ||
| __init__.py | ||
| datatypes.py | ||
| enums.py | ||