def power_on(self):
        """ Power on the set-top box. """
        if not self.is_powered_on():
            log.debug('Powering on set-top box at %s:%s.', self.ip, self.port)
            self.send_key(keys.POWER)