def unset_attr_bit(self, attr, bit): val = self.get_attribute(attr) val.Value.Value = ua.unset_bit(val.Value.Value, bit) self.set_attribute(attr, val)