Earlier quoted context omitted.
Another vote for home assistant, also from another thread further down use a dockerized version, no issues. I have all kinds of things connected, lights, switches, shellys, custom sensors/collectors and it all works flawlessly. Just amazed how good HA performs after using various other things over the years. You're also not tied to HA, but can develop using anything then once it all works put the result on HA.
I love HA for it's stability. However, I've written several HA integrations and I've got to say that their component API is insane. Inheritance based, vaguely documented, shifting terminology, etc. I'm working on my own use-case based API just to rationalize it a bit.
I feel like one of the people waving at the cloud saying: "Use Home Assistant", same as back in the days of use linux for all your troubles.