Skip to content

Commit ca82818

Browse files
name typo
1 parent f5e2c82 commit ca82818

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

switchbot/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
class Switchbot:
19-
"""Representation of a Switchmate."""
19+
"""Representation of a Switchbot."""
2020

2121
def __init__(self, mac) -> None:
2222
self._mac = mac
@@ -35,7 +35,7 @@ def _connect(self) -> bool:
3535
self._device = bluepy.btle.Peripheral(self._mac,
3636
bluepy.btle.ADDR_TYPE_RANDOM)
3737
except bluepy.btle.BTLEException:
38-
_LOGGER.error("Failed to connect to switchmate", exc_info=True)
38+
_LOGGER.error("Failed to connect to Switchbot", exc_info=True)
3939
return False
4040
return True
4141

0 commit comments

Comments
 (0)