control lcd

I kind of understand now. You want a menu or interface to control which appliance to turn on and off? That takes a lot of programming to do. I recommend you to use a simple approach first, one button for each appliance. If you sense the button, you turn the appliance on or off.