def unlock(self, **kwargs):
        self._state = STATE_UNLOCKED
        self.update_ha_state()
Unlock the device.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/lock/demo.py/DemoLock.unlock