Skip to content

Commit

Permalink
Update lock.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Dec 29, 2020
1 parent 7ad8429 commit 77ba540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/sector/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 77ba540

Please sign in to comment.