diff --git a/CHANGELOG.md b/CHANGELOG.md index cc2295cd7..deb700187 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## v0.40.0 (a22) - - Correcting messageflow to HA +- Correcting messageflow to HA ## v0.40.0 (a4) diff --git a/plugwise_usb/api.py b/plugwise_usb/api.py index 3aa54ab96..bbbfdaa6c 100644 --- a/plugwise_usb/api.py +++ b/plugwise_usb/api.py @@ -1,6 +1,5 @@ """Plugwise USB-Stick API.""" -from collections.abc import Awaitable, Callable from dataclasses import dataclass from datetime import datetime from enum import Enum, auto @@ -230,14 +229,6 @@ class EnergyStatistics: class PlugwiseNode(Protocol): """Protocol definition of a Plugwise device node.""" - def __init__( - self, - mac: str, - address: int, - loaded_callback: Callable[[NodeEvent, str], Awaitable[None]], - ) -> None: - """Initialize plugwise node object.""" - # region Generic node properties @property def features(self) -> tuple[NodeFeature, ...]: diff --git a/plugwise_usb/connection/receiver.py b/plugwise_usb/connection/receiver.py index 917537afb..950bc70f3 100644 --- a/plugwise_usb/connection/receiver.py +++ b/plugwise_usb/connection/receiver.py @@ -468,7 +468,7 @@ async def _notify_node_response_subscribers( self._node_subscription_lock.release() if len(notify_tasks) > 0: - _LOGGER.debug("Received %s %s", node_response, node_response.seq_id) + _LOGGER.info("Received %s %s", node_response, node_response.seq_id) if node_response.seq_id not in BROADCAST_IDS: self._last_processed_messages.append(node_response.seq_id) # Limit tracking to only the last appended request (FIFO) diff --git a/pyproject.toml b/pyproject.toml index d1b6c2c94..7b32870c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "plugwise_usb" -version = "v0.40.0a22" +version = "v0.40.0a26" license = {file = "LICENSE"} description = "Plugwise USB (Stick) module for Python 3." readme = "README.md"