code: def _send_raw(self, command):
          
          try:
              self._socket.send(bytearray(command))
              self._sn = (self._sn + 1) % 256
              return True
          except (socket.error, socket.timeout):
              # We can get a socket.error or timeout exception if the bridge is disconnected,
              # but we are still sending data. In that case, return False to indicate that data is not sent.
              return False
docs: Sends an raw command directly to the physical bridge.
          :param command: A bytearray.