Skip to content

Commit

Permalink
Fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ziceva authored Sep 19, 2023
1 parent dab13a7 commit e60119d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynuki/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class NukiLock(NukiDevice):
@property
def is_locked(self):
return self.state == const.STATE_LOCK_LOCKED

@property
def is_unlocked(self):
return self.state == const.STATE_LOCK_UNLOCKED
Expand All @@ -24,7 +24,7 @@ def is_unlocking(self):
@property
def is_jammed(self):
return self.state == const.STATE_LOCK_MOTOR_BLOCKED

@property
def is_door_sensor_activated(self):
# Nuki v1 locks don't have a door sensor, therefore the
Expand Down

0 comments on commit e60119d

Please sign in to comment.