updated
KNX or Home Assistant: which do you need?
KNX and Home Assistant do not replace each other; one sits above the other. Controllers differ in who keeps control of the system.
KNX or Home Assistant: not the same layer
You do not have to pick one, because they do different jobs. KNX is the field bus: the switch talks straight to the actuator and the logic sits in the devices, so the light still comes on when everything else is down. Home Assistant is the controller: complex automation, the user interface and the meeting point of the other protocols all live there.
If the walls are open now, KNX carries the basic functions and Home Assistant adds logic and an interface on top. In a finished flat with no bus cable, Home Assistant works with wireless and behind-the-switch devices, and no KNX at all.
Which controller: Home Assistant, Homey or a closed system
This question is rarely about features. What you notice three to five years in is not which one supported more integrations, but who ended up holding control over the system.
Home Assistant
Open source, runs locally, and has an integration for nearly every protocol. In exchange it needs maintenance: updates occasionally break things, and you have to understand the configuration. It is the right choice if you either want to work on it yourself, or have someone to maintain it. The system is entirely yours. Exportable and transferable at any point.
Homey and similar appliance controllers
A far easier entry: several wireless protocols in one box with a workable interface. The limit shows up when the automation logic outgrows what the interface allows, or when a device is not on the supported list. The vendor cloud is part of how it works, if that service ends, so do the functions that depend on it.
Closed vendor systems (e.g. Loxone)
Strong built-in logic, predictable behaviour, a proprietary bus, faster for an installer, and more stable than a self-assembled system. The price is vendor lock-in: device choice, pricing and the pace of expansion all depend on the vendor, and modifying the system usually requires a partner.
The practical answer
Most real systems do not choose: KNX or another field bus carries the base functions on its own, with a locally running controller on top providing the logic and the interface. That way a controller outage does not leave the house dark, and replacing the controller does not mean rebuilding the whole system.
Before deciding, it is worth working through what is achievable in that particular building: that is what the remote consultation is for.