Skip to content

Commit 8efb91f

Browse files
committed
Remove unneeded guard
1 parent 7308013 commit 8efb91f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,7 @@ async def _load_from_cache(self) -> bool:
852852
result = True
853853
if not await super()._load_from_cache():
854854
_LOGGER.debug("_load_from_cache | super-load failed")
855-
if result:
856-
result = False
855+
result = False
857856

858857
# Calibration settings
859858
if not await self._calibration_load_from_cache():

0 commit comments

Comments
 (0)