Hello,
Looking for guidance from someone who can explain the following requirement for integrations in Development Checklist | Home Assistant Developer Docs
All communication to external devices or services must be wrapped in an external Python library hosted on pypi.
I’m working on an integration, currently on HACS, that I would like to one day merge into HA core. The integration is based on a raw socket protocol using documentation from the vendor of the device. The connection is bidirectional and very stateful, requiring correct sequencing of commands etc. The communication is done through the asyncio
socket functionality.
Does this requirement mean that in order to be accepted, I would need to refactor the code to have a separate repo dedicated to just the socket connection? It would be very difficult for someone to make anything standalone that would be able to use the socket connection, so it would be kind of useless other than to satisfy the HA requirements.
Any info would be appreciated, thank you!