You might not need a NAS - a Raspberry Pi can be the centerpiece of your smart home
Sometimes, simple is better

Although they’re typically associated with file-sharing and backup tasks, operating systems designed for Network-Attached Storage servers can tackle a variety of other workloads. Home Assistant is one such project that offers a neat way to monitor, manage, and automate smart gadgets and IoT paraphernalia in your living space.