I don't want to needlessly go down rabbit holes and would like some design guidance. I want to build a driver for these motion blinds: GitHub - starkillerOG/motion-blinds: Python library for interfacing with Motion Blinds. The hardware consists of a hub that can have x number of blinds. All calls are UDP.
My main question is how best to structure the driver? Should I have one driver for the hub and a separate driver for the blind or a single driver with all code in one place? Is there accepted standard?