Does any one know about those controls you normally see on tv, where it controls the lights in the room, or the TV? (ON and OFF wise?)

Does any one know where I can get one, estimate cost, and how would installing go? (For one bedroom)