New light switch has blue, black, and white wires. Wall has black, white, and ground. Can I make it work?
You'll need to run a grounded (neutral) conductor into the box. It sounds like the power is supplied to the fixture, and only a switch loop is run to the switch. You'll have to run a 3 conductor cable with ground (14/3 or 12/3), from the fixture to the switch.  If there is conduit between the fixture box and the switch box, you can simply pull an additional conductor.