A California law taking effect July 1 aims to eventually phase out smoke detectors that take replaceable batteries. For now, however, landlords just need to make sure they’re existing smoke…