I think you could do this with conditional programming. Do you have any way to tell the processor that the bird cage is in place or not like using a wired I/O input or button press elsewhere?
I whipped this up quick. Assuming you can set a variable to tell the system the bird cage is in place or not (from a button press or a contact closure into the system), I just created a variable for the cage (in place/not in place), and made my shade button conditional with 2 actions: Go to preset 1 (52%), and fuly close. If the shade is open, I also check to see if the cage is in place (from the variable) and if it is there, I set the shade to Preset 1 (52%). If the cage was not in place, it sets the shade to full close.
Of course I cant insert an image here. I uploaded a screencap of my button logic here:
https://postimg.cc/sBTSjk3M