Skip to content

Commit

Permalink
python 3.12 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
patman15 committed Dec 21, 2024
1 parent ec99a60 commit cacbc61
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion custom_components/bms_ble/plugins/ej_bms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""Module to support Dummy BMS."""

from collections.abc import Callable
from enum import IntEnum
from typing import Any, Callable, Final
from typing import Any, Final

from bleak.backends.device import BLEDevice

Expand Down
3 changes: 2 additions & 1 deletion custom_components/bms_ble/plugins/redodo_bms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Module to support Dummy BMS."""

from typing import Any, Callable, Final
from collections.abc import Callable
from typing import Any, Final

from bleak.backends.device import BLEDevice
from bleak.uuids import normalize_uuid_str
Expand Down
3 changes: 2 additions & 1 deletion custom_components/bms_ble/plugins/seplos_v2_bms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Module to support Seplos V2 BMS."""

from typing import Any, Callable, Final
from collections.abc import Callable
from typing import Any, Final

from bleak.backends.device import BLEDevice
from bleak.uuids import normalize_uuid_str
Expand Down
3 changes: 2 additions & 1 deletion custom_components/bms_ble/plugins/tdt_bms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Module to support TDT BMS."""

from typing import Any, Callable, Final
from collections.abc import Callable
from typing import Any, Final

from bleak.backends.device import BLEDevice
from bleak.exc import BleakError
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ classifiers = [
]
description = "Integration that allows monitoring of Bluetooth Low Energy (BLE) battery management systems (BMS) from within Home Assistant."
readme = "README.md"
requires-python = ">= 3.12"

[project.urls]
"Source Code" = "https://github.com/patman15/BMS_BLE-HA"
Expand Down

0 comments on commit cacbc61

Please sign in to comment.