Confused between which arduino to use for project?
If you want a project that is wireless adding Wifi to Arduino is pointless when the Wifi boards are more capable than the Arduinos, so I would discount the UNOs straight away.  

As I understand the YUN is more of a Pi replacement so (if that's right) I would look at that for the 'master controller'.  The ESP32 Is probably not strong enough to act as the master controller, but it has other feature that might mitigate this including hardware support for encryption algorithms which might be useful for authentication the client devices.  Also they are cheep enough to consider a cluster of them (

Purely for their size I would go with ESP8266, you have an 80/160MHz processor with 512kb of RAM (from memory??), OK it only has 10 Digital and 1 Analog pins, but it you want more fork out another $1.50 on another board.  They are small enough to fit in light switches and cheep enough to hide behind a model door.

If you only want to do your model house then I recommend ESP8266 slaves and a Pi or cluster (pair?) of ESP32 for the master.  If you want to do a real house, I'd recommend the same.