# OH2 Z-Wave refactoring and testing... and SECURITY

**URL:** <https://community.openhab.org/t/oh2-z-wave-refactoring-and-testing-and-security/21653>\
**Category:** Bindings\
**Tags:** security, zwave1\
**Created:** [January 30, 2017, 10:46pm UTC](https://community.openhab.org/t/oh2-z-wave-refactoring-and-testing-and-security/21653 "2017-01-30T22:46:31Z")\
**Posts on this page:** 1\
**Showing post:** 1576

<div class="post-metadata">

**Author:** ![mcqwerty](https://community.openhab.org/user_avatar/community.openhab.org/mcqwerty/32/72224_2.png) [@mcqwerty](https://community.openhab.org/u/mcqwerty)\
**Post date:** [August 30, 2017, 2:36am UTC](https://community.openhab.org/t/oh2-z-wave-refactoring-and-testing-and-security/21653/1576 "2017-08-30T02:36:58Z")

</div>

> [@5iver](#):
>
> But it also then set alarm\_number to 2, which I had been using as an unlock.

I don’t think it is a problem with your code. I have had this same issue for a while: [Schlage BE469 - Zwave binding with security - missing features](https://community.openhab.org/t/schlage-be469-zwave-binding-with-security-missing-features/31271) you even replied 😉

---

_[View the full topic](https://community.openhab.org/t/oh2-z-wave-refactoring-and-testing-and-security/21653)._
