Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default_language_version:
repos:
# Run manually in CI skipping the branch checks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.18
rev: v0.15.20
hooks:
- id: ruff
name: "Ruff check"
Expand Down Expand Up @@ -55,7 +55,7 @@ repos:
- id: yamllint
name: "YAML linting"
- repo: https://github.com/biomejs/pre-commit
rev: v2.5.0
rev: v2.5.1
hooks:
- id: biome-lint
name: "Verifying/updating code with biome (improved prettier)"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.47.8 - 2026-07-01

PR [459](https://github.com/plugwise/python-plugwise-usb/pull/459): Reduce logging for SEDs

## v0.47.7 - 2026-05-18

PR [443](https://github.com/plugwise/python-plugwise-usb/pull/443): Migrate to serialx
Expand Down
2 changes: 1 addition & 1 deletion plugwise_usb/nodes/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ async def _load_cache_file(self) -> bool:
if self._loaded:
return True
if not self._cache_enabled:
_LOGGER.warning(
_LOGGER.debug(
"Unable to load node %s from cache because caching is disabled",
self.mac,
)
Expand Down
4 changes: 2 additions & 2 deletions plugwise_usb/nodes/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ async def _switch_group(self, response: PlugwiseResponse) -> bool:
raise MessageError(
f"Invalid response message type ({response.__class__.__name__}) received, expected NodeSwitchGroupResponse"
)
_LOGGER.warning("%s received %s", self.name, response)
_LOGGER.debug("%s received %s", self.name, response)
await gather(
self._available_update_state(True, response.timestamp),
self._motion_state_update(response.switch_state, response.timestamp),
Expand Down Expand Up @@ -393,7 +393,7 @@ async def _motion_state_update(
)
await self._scan_configure_update()
elif reset_timer < self._motion_config.reset_timer:
_LOGGER.warning(
_LOGGER.debug(
"Adjust reset timer for %s from %s -> %s",
self.name,
self._motion_config.reset_timer,
Expand Down
4 changes: 2 additions & 2 deletions plugwise_usb/nodes/sed.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def _detect_maintenance_interval(self, timestamp: datetime) -> None:
timestamp - self._last_awake[NodeAwakeResponseType.MAINTENANCE]
).seconds
new_interval_in_min = round(new_interval_in_sec // 60)
_LOGGER.warning(
_LOGGER.debug(
"Detect current maintenance interval for %s: %s (seconds), current %s (min)",
self.name,
new_interval_in_sec,
Expand Down Expand Up @@ -528,7 +528,7 @@ async def _awake_timer(self) -> None:
# Mark node as unavailable
if self._available:
last_awake = self._last_awake.get(NodeAwakeResponseType.MAINTENANCE)
_LOGGER.warning(
_LOGGER.debug(
"No awake message received from %s | last_maintenance_awake=%s | interval=%s (%s) | Marking node as unavailable",
self.name,
last_awake,
Expand Down
2 changes: 1 addition & 1 deletion plugwise_usb/nodes/sense.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ async def _switch_group(self, response: PlugwiseResponse) -> bool:
raise MessageError(
f"Invalid response message type ({response.__class__.__name__}) received, expected NodeSwitchGroupResponse"
)
_LOGGER.warning("%s received %s", self.name, response)
_LOGGER.debug("%s received %s", self.name, response)
await gather(
self._available_update_state(True, response.timestamp),
self._hysteresis_state_update(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "plugwise_usb"
version = "0.47.7"
version = "0.47.8"
license = "MIT"
keywords = ["home", "automation", "plugwise", "module", "usb"]
classifiers = [
Expand Down