Depending on the orientation of the sensor, you may have to pull up or down to remove the cover.
Locate the battery.
Gently remove the battery. You may use a small flathead screwdriver if this proves difficult.
Note the battery terminals (+, -).
Place a new battery in the device (CR2032).
Replace the cover on the device. Press in until you hear a click.