I use a delta calc to help turn it off. So on is triggered by hitting a threshold (ex. 80%) and off is triggered when the difference between the shower humidity and bedroom humidity (adjacent room) is less than a delta threshold (ex 7%)
There is also a blueprint that alot of people use