'Initialize the lock.'

def __init__(self, nuki_lock):

    self._nuki_lock = nuki_lock
    self._locked = nuki_lock.is_locked
    self._name = nuki_lock.name
    self._battery_critical = nuki_lock.battery_critical
