code: def send_command(self, device_id, action):
          
          command = deserialize_packet_id(device_id)
          command['command'] = action
          log.debug('sending command: %s', command)
          self.send_packet(command)
docs: Send device command to rflink gateway.