def _get_var(self, id):
    return int(self._run_read_command((b'get var state ' + bytes(str(id), encoding='ascii'))))
def _get_var(self, id):
    return int(self._run_read_command((b'get var state ' + bytes(str(id), encoding='ascii'))))