refactor: move samsung_appliance/ into custom_components/localthings/ocf/

Makes the integration fully self-contained for HACS distribution.
Users installing via HACS get everything in one directory; no external
samsung_appliance package needed.

All component imports updated to relative (.ocf.*); all test imports
updated to custom_components.localthings.ocf.*. ocf_root_ca.pem moves
with the package and resolves correctly via Path(__file__).parent.
This commit is contained in:
Marc Billow committed 2026-06-30 16:34:20 -05:00
1 parent 0bb27a9204
commit cc2c1e5a1f
50 files changed
+50 -50

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ FIXTURES = Path(__file__).resolve().parent / 'fixtures'
def _resources_from_dump(dump: dict) -> dict[str, dict]:
from samsung_appliance.batch import parse_device0_batch
from custom_components.localthings.ocf.batch import parse_device0_batch
return parse_device0_batch(dump['device0'])