diff --git a/custom_components/sector/lock.py b/custom_components/sector/lock.py index 959653d..42ef338 100644 --- a/custom_components/sector/lock.py +++ b/custom_components/sector/lock.py @@ -130,8 +130,8 @@ def available(self): @property def code_format(self): """Return one or more digits/characters""" - return return "^\\d{%s}$" % self._code_format - return self._code_format + return "^\\d{%s}$" % self._code_format + #return self._code_format @property def device_state_attributes(self):