Skip to content

Commit

Permalink
Fix typos (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Sep 3, 2020
1 parent 8c5d0a1 commit 53a66fe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/example_cover_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async def run():
print("All blinds")
print(blinds)

print("All repeatersK")
print("All repeaters")
print(repeaters)

# Sockets can be accessed by its index, so sockets[1] is the second blind
Expand Down
2 changes: 1 addition & 1 deletion examples/example_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async def new_device(devno):
)
commissioning.cancel()
commissioning = None
# if you wanted to implemente infinite-commissioning mode, you
# if you wanted to implement infinite-commissioning mode, you
# should cancel or restart keep_commissioning_alive in a way
# that resets the timeout, because the timeout will have gone
# to 0 the moment the device was added.
Expand Down
2 changes: 1 addition & 1 deletion pytradfri/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@

# Hue of a RGB bulb
RANGE_HUE = (0, 65535)
# Effecitive saturation range of a RGB bulb. The bulb will accept
# Effective saturation range of a RGB bulb. The bulb will accept
# slightly higher values, but it won't produce any light.
RANGE_SATURATION = (0, 65279)
# Brightness range of all bulbs. 0 will turn off the lamp
Expand Down
2 changes: 1 addition & 1 deletion pytradfri/device/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def manufacturer(self):

@property
def model_number(self):
"""A model identifier string (manufactuer specified string)."""
"""A model identifier string (manufacturer specified string)."""
return self.raw.get(DeviceInfo.ATTR_MODEL_NUMBER)

@property
Expand Down

0 comments on commit 53a66fe

Please sign in to comment.