'Establish a telnet connection and sends `command`.'

def telnet_command(self, command):

    telnet = telnetlib.Telnet(self._host)
    _LOGGER.debug('Sending:    %s', command)
    telnet.write((command.encode('ASCII') + '\r'))
    telnet.read_very_eager()
    telnet.close()
