Automation with conditions for exhaust fan run by Lutron switch?

Hi,
Would really appreciate some help in setting up automation for a bathroom exhaust fan.

The overhead fan will be switched with a Lutron 6amp on/off switch.

I would like the switch when pressed to turn on the exhaust for a set period (30-45 minutes)

But I also want to have an automation that if bathroom humidity is >55%, fan turns on until humidity <50%. This is in case kids forget to turn on the fan.

The second part is easy to do on its own but not sure if the button press will interfere with the argument of the second and how to use a condition to allow both to work smoothly.

Thanks!