Handle incoming string data one line at a time.

def handle_line(self, line):
        """Handle incoming string data one line at a time."""
        if not self.gateway.can_log:
            _LOGGER.debug('Receiving %s', line)
        self.gateway.add_job(self.gateway.logic, line)