For basic automations like you're mentioning, Home Assistant is pretty much rock solid. Bad devices are far more likely to give you trouble than HA itself. Don't buy anything cloud-based if you can avoid it (though many of them do work well with HA). A zigbee dongle with HA and Zigbee2Mqtt integration should cover most of your use cases.