Authomation idea for bathrom, motion sensor and light

Hi, I’m experimenting with actions and I’m a newbie.

I set up an automation that turns on the bathroom light when a motion sensor is activated.

After X seconds, the light automatically turns off because I don’t want it to stay on if the sensor doesn’t detect that I’ve left the room.

This setup works well for short visits, like entering and exiting quickly.

However, I’d like to adjust the action to adapt to longer bathroom activities.

For example, if I just go to pee, this is fine. But if I take a shower, I’d like the light to stay on.

I think I might need a helper for this, but I’m unsure how to change its status effectively.

I was thinking about using an NFC tag that, if scanned within the auto-off timeframe, cancels the turn-off action.

So, if I take a shower, I’d scan the tag and the light would stay on. But maybe there are more convenient ways to handle this? For example, something on my phone, or another method to detect that I haven’t left the room?

I’d also like to avoid sticking labels or tags all over the house.

Thank you

You could relocate the motion sensor so it picks up shower motion.

Or for activities without a lot of movement you might need to go with a mmWave motion sensor. That (apparently…I don’t use any myself yet) can detect presence with no almost no movement at all.