I use them in our basement... they are not "zigbee" fast but decent for Z-Wave - at least on USB power which is what I am doing.
For a bathroom - you might want something a little more responsive. Centralite Motion Sensors maybe?
https://www.amazon.com/Centralite-Motion-Sensor-SmartThings-platforms/dp/B0713STYJQ/