Daniel Høyer Iversen 5 년 전
부모
커밋
4048f7e457
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      switchbot/__init__.py

+ 1 - 1
switchbot/__init__.py

@@ -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 Switchbot", exc_info=True)
+            _LOGGER.warning("Failed to connect to Switchbot", exc_info=True)
             return False
         return True