I’ve built a (still-in-progress) module for Vantage control systems and for Ketra lighting systems. For ease of distribution and installation, I’d like to be able to put the files in self-contained sub-directories of .homeassistant/custom_components. E.g., as I understand it, right now they need to be co-mingled as:
.homeassistant/ custom_components/ vantage.py ketra.py light/ vantage.py ketra.py
But it seems better if it could be:
.homeassistant/ custom_componentss/ vantage/ vantage.py light/ vantage.py ketra/ ketra.py light/ ketra.py
That way I can just clone the repos for vantage/ and ketra/ each under custom_components, and pull those updates into the location. Obviously, it’s not a huge deal to write a little deployment script, but I’m wondering if I’m missing something about the preferred way of developing and distributing custom components.
Seems like a straightforward change to the loader would enable the segmented (instead of interleaved) structure.