Input_select list based on sensor state

I have an input select with:
Time
birthday
weddingday
Christmas

This i showed in in a state switch that switches between these cards every 15 sec. I have a sensor with a countdown for the last three. I would like the input select to exclude “Christmas” from the list until there is 30 days left. how can i do this?