Daniel Høyer Iversen 5 år sedan
förälder
incheckning
3a0019f4b0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      switchbot/__init__.py

+ 1 - 1
switchbot/__init__.py

@@ -50,7 +50,7 @@ class Switchbot:
             if retry < 1 or not self._connect():
                 _LOGGER.error("Cannot connect to switchbot.", exc_info=True)
                 return False
-            _LOGGER.error("Cannot connect to switchbot. Retrying", exc_info=True)
+            _LOGGER.warning("Cannot connect to switchbot. Retrying", exc_info=True)
             return self._sendpacket(key, retry-1)
         return True