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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v0.57.0 - 2025-09-12

- Activate new Sense feature, report interval setting via PR [331](https://github.com/plugwise/plugwise_usb-beta/pull/331)
- Link to plugwise_usb [v0.46.0](https://github.com/plugwise/python-plugwise-usb/releases/tag/v0.46.0)

## v0.56.0 - 2025-09-03

- Activate new Sense hysteresis based switch action via PR [326](https://github.com/plugwise/plugwise_usb-beta/pull/326)
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 @@ -9,6 +9,6 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/plugwise/python-plugwise-usb/issues",
"loggers": ["plugwise_usb"],
"requirements": ["plugwise-usb==0.45.0"],
"version": "0.56.0"
"requirements": ["plugwise-usb==0.46.0"],
"version": "0.57.0"
}
13 changes: 13 additions & 0 deletions custom_components/plugwise_usb/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,19 @@ class PlugwiseNumberEntityDescription(
async_number_type="float",
mode="box",
),
PlugwiseNumberEntityDescription(
key="report_interval",
translation_key="sense_report_interval",
async_number_fn="set_report_interval",
node_feature=NodeFeature.SENSE_HYSTERESIS,
device_class=NumberDeviceClass.DURATION,
native_unit_of_measurement=UnitOfTime.MINUTES,
entity_category=EntityCategory.CONFIG,
native_max_value=60,
native_min_value=1,
native_step=1,
mode="box",
),
)


Expand Down
3 changes: 3 additions & 0 deletions custom_components/plugwise_usb/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
},
"sense_temperature_lower_bound": {
"name": "Temperature lower boundary value"
},
"sense_report_interval": {
"name": "Measurement reporting interval"
}
},
"button": {
Expand Down
3 changes: 3 additions & 0 deletions custom_components/plugwise_usb/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
},
"sense_temperature_lower_bound": {
"name": "Temperature lower boundary value"
},
"sense_report_interval": {
"name": "Measurement reporting interval"
}
},
"button": {
Expand Down
3 changes: 3 additions & 0 deletions custom_components/plugwise_usb/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
},
"sense_temperature_lower_bound": {
"name": "Lage schakelpunt temperatuur"
},
"sense_report_interval": {
"name": "Meetrapportage-interval"
}
},
"button": {
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "plugwise_usb-beta"
version = "0.55.13"
version = "0.57.0"
description = "Plugwise USB custom_component (BETA)"
readme = "README.md"
requires-python = ">=3.13"
Expand Down Expand Up @@ -544,8 +544,6 @@ ignore = [

"TRY003", # Avoid specifying long messages outside the exception class
"TRY400", # Use `logging.exception` instead of `logging.error`
# Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`

# May conflict with the formatter, https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
Expand Down
Loading