Skip to content
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ See the [support table](https://solixble.readthedocs.io/en/latest) in the docume
- C1000 Gen 2
- F2000 (767 PowerHouse)
- F3800
- Solarbank 1
- Solarbank 2
- Solarbank 3
- Prime Charger 160w
Expand Down
2 changes: 2 additions & 0 deletions SolixBLE/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""SolixBLE module.

Check failure on line 1 in SolixBLE/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (N999)

SolixBLE/__init__.py:1:1: N999 Invalid module name: 'SolixBLE'

.. moduleauthor:: Harvey Lelliott (flip-dots) <harveylelliott@duck.com>

Expand All @@ -18,6 +18,7 @@
PrimeCharger160w,
PrimeCharger250w,
PrimePowerBank20k,
Solarbank1,
Solarbank2,
Solarbank3,
)
Expand All @@ -33,29 +34,30 @@
)
from .utilities import discover_devices

__all__ = [
"SolixBLEDevice",
"PrimeDevice",
"C300",
"C300DC",
"C800",
"C1000",
"C1000G2",
"F2000",
"F3800",
"Solarbank1",
"Solarbank2",
"Solarbank3",
"PrimeCharger160w",
"PrimeCharger250w",
"PrimePowerBank20k",
"MagGo3in1",
"Generic",
"ChargingStatus",
"ChargingStatusF3800",
"DisplayTimeout",
"LightStatus",
"PortStatus",
"TemperatureUnit",
"PortOverload",
"discover_devices",
]

Check failure on line 63 in SolixBLE/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

ruff (RUF022)

SolixBLE/__init__.py:37:11: RUF022 `__all__` is not sorted help: Apply an isort-style sorting to `__all__`
3 changes: 3 additions & 0 deletions SolixBLE/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

"""


from .c300 import C300
from .c300dc import C300DC
from .c800 import C800
Expand All @@ -16,6 +17,7 @@
from .prime_charger_160w import PrimeCharger160w
from .prime_charger_250w import PrimeCharger250w
from .prime_power_bank_20k import PrimePowerBank20k
from .solarbank1 import Solarbank1
from .solarbank2 import Solarbank2
from .solarbank3 import Solarbank3

Expand All @@ -27,6 +29,7 @@
"C1000G2",
"F2000",
"F3800",
"Solarbank1",
"Solarbank2",
"Solarbank3",
"PrimeCharger160w",
Expand Down
Loading
Loading