Skip to content

Commit 4048f7e

Browse files
warning
1 parent ca82818 commit 4048f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

switchbot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 Switchbot", exc_info=True)
38+
_LOGGER.warning("Failed to connect to Switchbot", exc_info=True)
3939
return False
4040
return True
4141

0 commit comments

Comments
 (0)