Skip to content

Commit 2bd581a

Browse files
committed
indentation went wrong
1 parent b8440f3 commit 2bd581a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

plugwise_usb/nodes/circle_plus.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ async def load(self) -> bool:
4242
if await self._load_from_cache():
4343
self._loaded = True
4444
if not self._loaded:
45-
_LOGGER.debug("Retrieving Info For Circle+ node %s", self._mac_in_str)
46-
47-
# Check if node is online
48-
if (
49-
not self._available
50-
and not await self.is_online()
51-
or await self.node_info_update() is None
52-
):
53-
_LOGGER.warning(
54-
"Failed to load Circle+ node %s because it is not online or not responding",
55-
self._mac_in_str,
56-
)
57-
return False
45+
_LOGGER.debug("Retrieving info for Circle+ node %s", self._mac_in_str)
46+
47+
# Check if node is online
48+
if (
49+
not self._available
50+
and not await self.is_online()
51+
or await self.node_info_update() is None
52+
):
53+
_LOGGER.warning(
54+
"Failed to load Circle+ node %s because it is not online or not responding",
55+
self._mac_in_str,
56+
)
57+
return False
5858

5959
self._loaded = True
6060

0 commit comments

Comments
 (0)