17c4f4d3914a90ec9270bb5688052ecfa6ac8b85,homeassistant/components/lock/zwave.py,ZwaveLock,update_properties,#ZwaveLock#,212

Before Change


            self._notification = LOCK_NOTIFICATION.get(value.data)
            if self._notification:
                self._state = LOCK_STATUS.get(value.data)
                _LOGGER.debug("Lock state set from Access Control value and"
                              " is %s", value.data)
            break

        for value in self._node.get_values(
                class_id=zwave.const.COMMAND_CLASS_ALARM).values():

After Change


            self._notification = LOCK_NOTIFICATION.get(value.data)
            notification_data = value.data
            if self._v2btze:
                for value in (self._node.get_values(
                        class_id=zwave.const.COMMAND_CLASS_CONFIGURATION)
                              .values()):
                    if value.index != 12:
                        continue
                    if value.data == CONFIG_ADVANCED:
                        self._state = LOCK_STATUS.get(notification_data)
                        _LOGGER.debug("Lock state set from Access Control "
                                      "value and is %s", notification_data)
                    break

            break

        for value in self._node.get_values(
                class_id=zwave.const.COMMAND_CLASS_ALARM).values():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: 17c4f4d3914a90ec9270bb5688052ecfa6ac8b85
Time: 2017-02-01
Author: turbokongen@hotmail.com
File Name: homeassistant/components/lock/zwave.py
Class Name: ZwaveLock
Method Name: update_properties


Project Name: home-assistant/home-assistant
Commit Name: 68d6bcd3edd0eaf20b081fbf154de2942b85ac45
Time: 2017-02-01
Author: turbokongen@hotmail.com
File Name: homeassistant/components/lock/zwave.py
Class Name: ZwaveLock
Method Name: update_properties


Project Name: home-assistant/home-assistant
Commit Name: 625319846c77b37a9f2a5ffcf8d3be311cd534fe
Time: 2016-10-03
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/homematic.py
Class Name:
Method Name: _get_devices