mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-30 11:49:16 +00:00
Same defect class as #389: _const() planted bare ModuleType stand-ins for custom_components(.houseplan) and never removed them, so the HA harness running later in the same pytest process saw a package without async_setup — 85 test_ha_* failures with 'No setup or config entry setup function defined'. const.py imports nothing, so the loader needs no package context at all: load it by file path under a standalone module name and leave sys.modules untouched (verified: no custom_components* keys after _const()). User-Visible: no Issue: #42