UNO+WiFi R3 ATmega328P+ESP8266 Board 32Mb Memory USB-TTL CH340G Compatible For

If you want to control 8 different devices that are in different parts of the house then you’d be better with multiple Wemos D1 Minis connected to one or two relays each. Or, using Sonoff 20s running Blynk code.
If all 8 electrical devices are in the same physical location then look at this thread:

Pete.