Skip to content

Fix handling of temperature value 0#480

Merged
patman15 merged 1 commit into
mainfrom
478-incorrect-filtering-of-temperature-values-at-0
Sep 7, 2025
Merged

Fix handling of temperature value 0#480
patman15 merged 1 commit into
mainfrom
478-incorrect-filtering-of-temperature-values-at-0

Conversation

@patman15

@patman15 patman15 commented Sep 7, 2025

Copy link
Copy Markdown
Owner

No description provided.

@patman15 patman15 linked an issue Sep 7, 2025 that may be closed by this pull request
@patman15 patman15 marked this pull request as ready for review September 7, 2025 16:32
@krahabb

krahabb commented Sep 7, 2025

Copy link
Copy Markdown
Contributor

That's an elegant solution ;)

@patman15 patman15 merged commit 3f0d456 into main Sep 7, 2025
11 checks passed
@patman15 patman15 deleted the 478-incorrect-filtering-of-temperature-values-at-0 branch September 7, 2025 20:33
@patman15 patman15 restored the 478-incorrect-filtering-of-temperature-values-at-0 branch September 10, 2025 19:03
patman15 added a commit that referenced this pull request Sep 12, 2025
* adapt naming

- `AdvertisementPattern` to `MatcherPattern`
- `reconnect` to `keep_alive`

* remove dummy example

* fix removal of 0 values in _temp_values() (#480)

* Add Seplos `SP1??B*` pattern (#482)

* Feature align aiobmsble (#481)

* adapt naming

- `AdvertisementPattern` to `MatcherPattern`
- `reconnect` to `keep_alive`

* remove dummy example

* Add detection of LiTime 24V BMS type based on serial number (#484)

* Fix operator precedence (#485)

* fix removal of 0 values in _temp_values()

* fix operator precedence

* Support ANT BMS (legacy BLE protocol) (#468)

* Support ANT BMS (legacy BLE protocol)

* Refine frame parsing for ant_bms_legacy

* Add basic testing for ant_bms_legacy

* Rename plugin ant_bms_legacy to ant_legacy_bms to comply with component conventions

* Fix ant_legacy_bms test coverage

* Fix compliancy with bms_ble repository design

* Add 'total_charge' value (#476) to results

* Remove 'dead' code

* Remove unused import

* Fix temperature sensors count

* Remove cell high/low voltage parsing and calc 'delta_voltage' from internal '_add_missing_values'

* Remove local reference to self._data in member function body

* Fix 'BaseBMS._temp_values' operator precedence

* Fix imported symbol

* Fix missing comma after manual merge

* fix pylint issues

* fix design_capacity / temp sensors

* add typing

* Update ant_legacy_bms.py

* align constants

* test to check design capacity provision

* rename legacy bms

* Update README.md

---------

Co-authored-by: patman15 <14628713+patman15@users.noreply.github.com>

* update to 1.21.0

---------

Co-authored-by: krahabb <13969600+krahabb@users.noreply.github.com>
patman15 added a commit that referenced this pull request Sep 13, 2025
* migrate to aiobmsble

* disable mypy

* fix device discovery for aiobmsble

* add test for v2 config entry

not yet correct

* complete test coverage

* Update aiobmsble to 0.2.2

* disable fuzz tests

* update for new retry-connector

* update requirements

* Update fuzzing.yaml

* Update manifest.json

* Update README.md

* Feature align aiobmsble (#488)

* adapt naming

- `AdvertisementPattern` to `MatcherPattern`
- `reconnect` to `keep_alive`

* remove dummy example

* fix removal of 0 values in _temp_values() (#480)

* Add Seplos `SP1??B*` pattern (#482)

* Feature align aiobmsble (#481)

* adapt naming

- `AdvertisementPattern` to `MatcherPattern`
- `reconnect` to `keep_alive`

* remove dummy example

* Add detection of LiTime 24V BMS type based on serial number (#484)

* Fix operator precedence (#485)

* fix removal of 0 values in _temp_values()

* fix operator precedence

* Support ANT BMS (legacy BLE protocol) (#468)

* Support ANT BMS (legacy BLE protocol)

* Refine frame parsing for ant_bms_legacy

* Add basic testing for ant_bms_legacy

* Rename plugin ant_bms_legacy to ant_legacy_bms to comply with component conventions

* Fix ant_legacy_bms test coverage

* Fix compliancy with bms_ble repository design

* Add 'total_charge' value (#476) to results

* Remove 'dead' code

* Remove unused import

* Fix temperature sensors count

* Remove cell high/low voltage parsing and calc 'delta_voltage' from internal '_add_missing_values'

* Remove local reference to self._data in member function body

* Fix 'BaseBMS._temp_values' operator precedence

* Fix imported symbol

* Fix missing comma after manual merge

* fix pylint issues

* fix design_capacity / temp sensors

* add typing

* Update ant_legacy_bms.py

* align constants

* test to check design capacity provision

* rename legacy bms

* Update README.md

---------

Co-authored-by: patman15 <14628713+patman15@users.noreply.github.com>

* update to 1.21.0

---------

Co-authored-by: krahabb <13969600+krahabb@users.noreply.github.com>

* fix ant_leg_bms inclusion

* Update CONTRIBUTING.md

* Update README.md

---------

Co-authored-by: krahabb <13969600+krahabb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect filtering of temperature values at 0

2 participants