Automating the bathroom lights: how to keep them from turning off while someone is in the shower?

I think am going to look into Home Assistant

This is whatr I did and it has workedc perfect everr since.
One motion in tjhe bathroom (turns on batghroom lights after dark to 20%)
One motion in the shower (Mine is mounted in thwe corner at about the same level; as the showerhead.)
How that little lowes motion sensor isnt dead after 4 years in the shower I have no idea butr it all works. No special programming needed.

I tried using the humidity sensors but the overall humidity goes up and down in the house and seasonally.
Sometimes the answer is the most simple one.