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

### Ongoing

- Fix disabled buttons for all non-plus devices
- Shorten/correct logger-messages to use `node_duc.node.name`

### v0.55.8 - 2025-08-15
Expand Down Expand Up @@ -319,7 +320,7 @@
### MAY 2022 [0.23.2]

- Smile bugfix: fixing [plugwise module 192](https://github.com/plugwise/python-plugwise/issues/192) and [Core Issue 72305](https://github.com/home-assistant/core/issues/72305)
via plugwise module [v0.18.5)[https://github.com/plugwise/python-plugwise/releases/tag/v0.18.5]
via plugwise module [v0.18.5](https://github.com/plugwise/python-plugwise/releases/tag/v0.18.5)

### MAY 2022 [0.23.1]

Expand Down
6 changes: 5 additions & 1 deletion custom_components/plugwise_usb/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from homeassistant.components.button import ButtonEntity, ButtonEntityDescription
from homeassistant.const import EntityCategory, Platform
from homeassistant.core import HomeAssistant
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import AddEntitiesCallback

from .const import NODES, STICK, UNSUB_NODE_LOADED
Expand Down Expand Up @@ -112,6 +112,10 @@ def __init__(
node_duc.node, entity_description.async_button_fn
)

@callback
def _handle_coordinator_update(self) -> None:
"""Handle updated data from the coordinator."""

async def async_press(self) -> None:
"""Button was pressed."""
await self.async_button_fn()
Expand Down
Loading