Skip to content

Commit

Permalink
Fix codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed Aug 18, 2024
1 parent 452f27b commit 29ce75b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ For full listing of function see functions.md

#### Locks
Iterate the connected locks
```pyhon
```python
client = YaleSmartAlarmClient(username, password)
for lock in client.lock_api.locks():
print(lock)
```

lock a single lock
```pyhon
```python
lock = client.lock_api.get(name="myfrontdoor"):
lock.close()
```

unlock:
```pyhon
```python
lock = client.lock_api.get(name="myfrontdoor"):
lock.open(pin_code="1234566")
```
Expand Down
4 changes: 2 additions & 2 deletions yalesmartalarmclient/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ class YaleLock:
"""This is an abstraction of a remove Yale lock.
The object created by this class attempts to reflect the remote state,
and also has the possibilty of locking/unlocking the lock state.
and also has the possibility of locking/unlocking the lock state.
Objects of this class shall usually be craeted by the lock_api class.
Objects of this class shall usually be created by the lock_api class.
"""

DEVICE_TYPE: str = "device_type.door_lock"
Expand Down

0 comments on commit 29ce75b

Please sign in to comment.