Enums in Blender evaluate to a string, so trying to add them to a pose failed with an error because FCurves only accept numbers. The fix is to modify the data path and split the property name off. By evaluating that we arrive at the bone, from which we can call `get(property_name)` to get the int value. Pull Request: https://projects.blender.org/blender/blender/pulls/132124