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: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Versions from 0.4x

### v0.55.7 - 2025-08-11

- Bugfixes and improvements via plugwise_usb [v0.44.10](https://github.com/plugwise/python-plugwise-usb/releases/tag/v0.44.10)

### v0.55.6 - 2025-07-24

- Bugfixes and improvements via plugwise_usb [v0.44.9](https://github.com/plugwise/python-plugwise-usb/releases/tag/v0.44.9)
Expand Down
3 changes: 2 additions & 1 deletion custom_components/plugwise_usb/coordinator.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"""DataUpdateCoordinator for Plugwise USB-Stick."""

from collections import Counter
from collections.abc import Callable
from datetime import timedelta
import logging
from typing import Any, Callable
from typing import Any

from plugwise_usb.api import PUSHING_FEATURES, NodeFeature, PlugwiseNode
from plugwise_usb.exceptions import NodeError, NodeTimeout, StickError, StickTimeout
Expand Down
10 changes: 5 additions & 5 deletions custom_components/plugwise_usb/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
from plugwise_usb.api import NodeEvent, NodeFeature

from homeassistant.components.event import (
EventDeviceClass,
EventEntity,
EventDeviceClass,
EventEntity,
EventEntityDescription,
)
from homeassistant.const import EntityCategory, Platform, UnitOfTime
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import AddEntitiesCallback

Expand Down Expand Up @@ -141,8 +141,8 @@ def _handle_coordinator_update(self) -> None:
)
return
# SWITCH logic
state_value = getattr(data, "state" )
group_value = getattr(data, "group" )
state_value = data.state
group_value = data.group
match self.entity_description.key:
case "button_press_i_group_1":
if state_value is True and group_value == 1:
Expand Down
4 changes: 2 additions & 2 deletions custom_components/plugwise_usb/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"integration_type": "hub",
"iot_class": "local_polling",
"loggers": ["plugwise_usb"],
"requirements": ["plugwise-usb==0.44.9"],
"version": "0.55.6"
"requirements": ["plugwise-usb==0.44.10"],
"version": "0.55.7"
}
Loading