'Send a key to the tv and handles exceptions.'

def send_key(self, key):

    try:
        self._remote.send_key(key)
        self._state = STATE_ON
    except OSError:
        self._state = STATE_OFF
        return False
    return True
