From 53a66fe37bb41056ea8a989f9492e0ecb5be5bb4 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Thu, 3 Sep 2020 10:54:22 +0200 Subject: [PATCH] Fix typos (#279) --- examples/example_cover_async.py | 2 +- examples/example_pair.py | 2 +- pytradfri/const.py | 2 +- pytradfri/device/__init__.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/example_cover_async.py b/examples/example_cover_async.py index 6a0f05ef..7756b9dc 100755 --- a/examples/example_cover_async.py +++ b/examples/example_cover_async.py @@ -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 diff --git a/examples/example_pair.py b/examples/example_pair.py index a75443f4..9db383de 100755 --- a/examples/example_pair.py +++ b/examples/example_pair.py @@ -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. diff --git a/pytradfri/const.py b/pytradfri/const.py index b6d5db42..510694c7 100644 --- a/pytradfri/const.py +++ b/pytradfri/const.py @@ -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 diff --git a/pytradfri/device/__init__.py b/pytradfri/device/__init__.py index 32dc054b..a1ba0290 100644 --- a/pytradfri/device/__init__.py +++ b/pytradfri/device/__init__.py @@ -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