Xbee3-24 custom sensor program example

Hello! I’m trying to create a power monitor and a switch with xbee3-24. This doesn’t have micropython code yet but it already exposed all of the gpios. Anyone has examples with micropython? As far as I understand the gpio’s are exposed because of the firmware from digi zigbee. If that is the case then the GPIO’s can’t be turned off since its closed source? Or is there a way to turn off them and add power sensor on the micropython code? TIA