Browse Source

name typo

Daniel Høyer Iversen 5 years ago
parent
commit
ca82818672
1 changed files with 2 additions and 2 deletions
  1. 2 2
      switchbot/__init__.py

+ 2 - 2
switchbot/__init__.py

@@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__)
 
 
 class Switchbot:
-    """Representation of a Switchmate."""
+    """Representation of a Switchbot."""
 
     def __init__(self, mac) -> None:
         self._mac = mac
@@ -35,7 +35,7 @@ class Switchbot:
             self._device = bluepy.btle.Peripheral(self._mac,
                                                   bluepy.btle.ADDR_TYPE_RANDOM)
         except bluepy.btle.BTLEException:
-            _LOGGER.error("Failed to connect to switchmate", exc_info=True)
+            _LOGGER.error("Failed to connect to Switchbot", exc_info=True)
             return False
         return True