code: def connection_made(self, transport):
          
          super().connection_made(transport)
          if hasattr(self.transport, 'serial'):
              _LOGGER.info('Connected to %s', self.transport.serial)
          else:
              _LOGGER.info('Connected to %s', self.transport)
docs: Handle created connection.