code: def send(self, data):
          
          # send message
          _LOGGER.debug("send: " + data)
          self.socket.send(data.encode('ascii'))
          # sleep needed to prevent flooding the GC100 with sends
          sleep(.01)
docs: Send data to socket.