Skip to content

Commit

Permalink
Fix compatibility with HA 2024.6.
Browse files Browse the repository at this point in the history
The integration failed to load due to changes in the type signature
of PassiveBluetoothProcessor.

Added Smart Lithium and Smart Protect devices.

Fixed an issue with meter type and temperature reporting in
DC Energy Meters.
  • Loading branch information
j9brown committed Jun 12, 2024
1 parent a378884 commit 1ee7788
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/victron_ble/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"integration_type": "device",
"iot_class": "local_push",
"issue_tracker": "https://github.com/keshavdv/victron-hacs/issues",
"requirements": ["git+https://github.com/j9brown/victron-ble.git@main#victron_ble==0.8.1"],
"version": "0.1.10"
"requirements": ["git+https://github.com/j9brown/victron-ble.git@main#victron_ble==0.8.2"],
"version": "0.1.11"
}
2 changes: 1 addition & 1 deletion custom_components/victron_ble/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ async def async_setup_entry(

class VictronBluetoothSensorEntity(
PassiveBluetoothProcessorEntity[
PassiveBluetoothDataProcessor[Optional[Union[float, int]]]
PassiveBluetoothDataProcessor[float | int | None, SensorUpdate],
],
SensorEntity,
):
Expand Down

0 comments on commit 1ee7788

Please sign in to comment.