File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments