There are full suites of home automation packages that can run on the Pi.
For example https://www.openhab.org/
Though this may seem overkill, they give you a good base to grow as time goes by.
One big thing to consider is that you may be handling mains voltage at some point and are you qualified to do so?
Need Pi spray - these things are breeding in my house...