Skip to content

Commit 5cc680d

Browse files
authored
Merge pull request #240 from plugwise/fix_number
Fix error in Number platform
2 parents 996cb25 + c3b9298 commit 5cc680d

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Versions from 0.4x
44

5+
### v0.50.1
6+
7+
- Fix error in Number platform
8+
59
### v0.50.0
610

711
- Link to plugwise_usb v0.40.0 - fully reworked [async version](https://github.com/plugwise/python-plugwise-usb/releases/tag/v0.40.0)

custom_components/plugwise_usb/number.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
NumberEntityDescription,
1313
)
1414
from homeassistant.const import EntityCategory, Platform, UnitOfTime
15-
from homeassistant.core import callback
15+
from homeassistant.core import HomeAssistant, callback
1616
from homeassistant.helpers.entity_platform import AddEntitiesCallback
1717
from plugwise_usb.api import NodeEvent, NodeFeature
1818

@@ -100,6 +100,7 @@ class PlugwiseNumberEntityDescription(
100100

101101

102102
async def async_setup_entry(
103+
_hass: HomeAssistant,
103104
config_entry: PlugwiseUSBConfigEntry,
104105
async_add_entities: AddEntitiesCallback,
105106
) -> None:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "plugwise_usb-beta"
3-
version = "0.50.0"
3+
version = "0.50.1"
44
description = "Plugwise USB custom_component (BETA)"
55
readme = "README.md"
66
requires-python = ">=3.13"

0 commit comments

Comments
 (0)