├── .envFile ├── .github ├── ISSUE_TEMPLATE │ ├── bug.yml │ ├── config.yml │ ├── feature_request.yml │ └── support.yml ├── funding.yml └── workflows │ ├── fuzzing.yaml │ ├── hassfest.yaml │ ├── lint.yml │ ├── release.yaml │ ├── stale.yaml │ ├── tests.yaml │ └── validate.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── custom_components ├── __init__.py └── bms_ble │ ├── __init__.py │ ├── binary_sensor.py │ ├── config_flow.py │ ├── const.py │ ├── coordinator.py │ ├── diagnostics.py │ ├── icons.json │ ├── manifest.json │ ├── quality_scale.yaml │ ├── sensor.py │ ├── strings.json │ └── translations │ ├── de.json │ ├── en.json │ ├── fi.json │ ├── pt.json │ └── ua.json ├── hacs.json ├── mypy.ini ├── pyproject.toml ├── requirements.txt ├── requirements_test.txt ├── scripts └── update_requirements.py └── tests ├── __init__.py ├── bluetooth.py ├── conftest.py ├── test_binary_sensor.py ├── test_config_flow.py ├── test_const.py ├── test_coordinator.py ├── test_diagnostics.py ├── test_init.py └── test_sensor.py /.envFile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/ISSUE_TEMPLATE/bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/support.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/ISSUE_TEMPLATE/support.yml -------------------------------------------------------------------------------- /.github/funding.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/funding.yml -------------------------------------------------------------------------------- /.github/workflows/fuzzing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/fuzzing.yaml -------------------------------------------------------------------------------- /.github/workflows/hassfest.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/hassfest.yaml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.github/workflows/stale.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/stale.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.github/workflows/validate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.github/workflows/validate.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/README.md -------------------------------------------------------------------------------- /custom_components/__init__.py: -------------------------------------------------------------------------------- 1 | """Custom component.""" 2 | -------------------------------------------------------------------------------- /custom_components/bms_ble/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/__init__.py -------------------------------------------------------------------------------- /custom_components/bms_ble/binary_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/binary_sensor.py -------------------------------------------------------------------------------- /custom_components/bms_ble/config_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/config_flow.py -------------------------------------------------------------------------------- /custom_components/bms_ble/const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/const.py -------------------------------------------------------------------------------- /custom_components/bms_ble/coordinator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/coordinator.py -------------------------------------------------------------------------------- /custom_components/bms_ble/diagnostics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/diagnostics.py -------------------------------------------------------------------------------- /custom_components/bms_ble/icons.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/icons.json -------------------------------------------------------------------------------- /custom_components/bms_ble/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/manifest.json -------------------------------------------------------------------------------- /custom_components/bms_ble/quality_scale.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/quality_scale.yaml -------------------------------------------------------------------------------- /custom_components/bms_ble/sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/sensor.py -------------------------------------------------------------------------------- /custom_components/bms_ble/strings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/strings.json -------------------------------------------------------------------------------- /custom_components/bms_ble/translations/de.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/translations/de.json -------------------------------------------------------------------------------- /custom_components/bms_ble/translations/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/translations/en.json -------------------------------------------------------------------------------- /custom_components/bms_ble/translations/fi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/translations/fi.json -------------------------------------------------------------------------------- /custom_components/bms_ble/translations/pt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/translations/pt.json -------------------------------------------------------------------------------- /custom_components/bms_ble/translations/ua.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/custom_components/bms_ble/translations/ua.json -------------------------------------------------------------------------------- /hacs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/hacs.json -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/mypy.ini -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/requirements_test.txt -------------------------------------------------------------------------------- /scripts/update_requirements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/scripts/update_requirements.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | """Tests for the BLE Battery Management System integration.""" 2 | -------------------------------------------------------------------------------- /tests/bluetooth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/bluetooth.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_binary_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_binary_sensor.py -------------------------------------------------------------------------------- /tests/test_config_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_config_flow.py -------------------------------------------------------------------------------- /tests/test_const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_const.py -------------------------------------------------------------------------------- /tests/test_coordinator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_coordinator.py -------------------------------------------------------------------------------- /tests/test_diagnostics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_diagnostics.py -------------------------------------------------------------------------------- /tests/test_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_init.py -------------------------------------------------------------------------------- /tests/test_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patman15/BMS_BLE-HA/HEAD/tests/test_sensor.py --------------------------------------------------------------------------------