The Leviton Decora Smart WiFi Motion sensing Dimmer (D2MSD ... but don't want to pay an electrician to install one, the switch can also be paired with a Dimmer Companion ($27, Amazon), which ...
Like most smart light switches it needs a 2.4GHz Wi-FI connection ... you need to follow the electrical safety regulations when you position any kind of switch near or in bathrooms.