I’ve done exactly the same thing with my shower.
I’ve a temp/humidity sensor doing the exact same task.