Skip to content

Commit da71ec0

Browse files
committed
Change two warning-messages to debug
trying to reduce amount of warning messages for an offline node
1 parent 98bd109 commit da71ec0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugwise_usb/connection/queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async def submit(self, request: PlugwiseRequest) -> PlugwiseResponse | None:
110110
elif request.resend:
111111
_LOGGER.debug("%s, retrying", exc)
112112
else:
113-
_LOGGER.warning("%s, cancel request", exc) # type: ignore[unreachable]
113+
_LOGGER.debug("%s, cancel request", exc) # type: ignore[unreachable]
114114
except StickError as exc:
115115
_LOGGER.error(exc)
116116
raise StickError(

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ async def _load_from_cache(self) -> bool:
973973

974974
# Energy collection
975975
if not await self._energy_log_records_load_from_cache():
976-
_LOGGER.warning(
976+
_LOGGER.debug(
977977
"Node %s failed to load energy_log_records from cache",
978978
self._mac_in_str,
979979
)

0 commit comments

Comments
 (0)