Skip to content

Commit d9f4d3c

Browse files
committed
Remove double call to node._node_info_load_from_cache()
1 parent d4cf635 commit d9f4d3c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -971,8 +971,6 @@ async def node_info_update(
971971

972972
async def _node_info_load_from_cache(self) -> bool:
973973
"""Load node info settings from cache."""
974-
result = await super()._node_info_load_from_cache()
975-
_LOGGER.debug("circle._node_info_load_from_cache | result=%s", result)
976974
if (
977975
current_log_address := self._get_cache(CACHE_CURRENT_LOG_ADDRESS)
978976
) is not None:
@@ -981,7 +979,7 @@ async def _node_info_load_from_cache(self) -> bool:
981979
"circle._node_info_load_from_cache | current_log_address=%s",
982980
self._current_log_address
983981
)
984-
return result
982+
return True
985983

986984
_LOGGER.debug("circle._node_info_load_from_cache | current_log_address=None")
987985
return False

0 commit comments

Comments
 (0)