home automation with arduino and android

I think it can be used for this too, if you use as "type" something like "plug" or "light" you'll have 2buttons (on/off). let me know