Home automation project help needed

Hey my engineering project is about making a home automation system. I have checked youtube videos using arduino mega. But the systems to control inside it(Eg. water level indicator, door lock,gas sensor,fire alarm sensor) they use Arduino Uno-the circuits that I have collected. So i want to know can Arduino Uno be used for this complete home automation? And how to control multiple systems and sensors like the ones mentioned above,using a single Arduino uno board?
Please help.

If some of these sensors require third party libraries then you will probably run out of memory at some point during the project. If you are just monitoring digital and analogue inputs you should be OK.

how to control multiple systems and sensors like the ones mentioned above,using a single Arduino uno board?

If you use the standard Arduino IDE then the loop() function does what its name implies and loops back to the start when it has finished. This allows you to monitor multiple inputs and control multiple outputs sequentially. One important thing to note is that in order for this to work then no code must block the execution of the code so, for instance, use of the delay() function for timing would generally be unwise.

Have a look at Several things at the same time to see the principles of using millis() for timing.