I have several simple features that could be implemented either as custom components or add-on. Components are more lightweight and hence presumably preferable, except for one thing: often a library is required (typically from PyPi), and I have not found any way to install it in a hassos install.
Am I correct that for this reason I should create add-ons, rather than components, whenever a library is required?
Example: gps reader requires pynmea2 (there is already a gps component available, but that one requires gaps, which again cannot be installed in hassos).
Apparently this was an issue in an older version of HA. But I am running the newest version! Perhaps the error cropped up again. I have no clue where to look to diagnose; the log has no further information.
Never figured out what the problem was. In fact, with the example component, my home assistant would no longer start (reports as health, ssh works, but UI is inaccessible).