Skip to content

Latest commit

 

History

History
1117 lines (529 loc) · 40.7 KB

CHANGELOG.md

File metadata and controls

1117 lines (529 loc) · 40.7 KB

CHANGELOG

v3.11.0 (2024-08-25)

Feature

  • feat: add new sensors (#144) (25e87a0)

v3.10.0 (2024-08-23)

Chore

  • chore(pre-commit.ci): pre-commit autoupdate (#140)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (07f4729)

  • chore(pre-commit.ci): pre-commit autoupdate (#139)

updates:

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (e6ab18b)

  • chore(pre-commit.ci): pre-commit autoupdate (#137)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (8305ab4)

  • chore(pre-commit.ci): pre-commit autoupdate (#136)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (8de8a22)

  • chore(pre-commit.ci): pre-commit autoupdate (#132)

  • chore(pre-commit.ci): pre-commit autoupdate

updates:

  • chore(pre-commit.ci): auto fixes

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (8171fd4)

Feature

  • feat(conductivity): add 0x56 for 16-bit Conductivity measurement type (#142) (444eaca)

v3.9.3 (2024-06-07)

Fix

  • fix: allow contents permission to workflow (#131)

fix: allow contents permission to workflow (eda9bfd)

  • fix: rename pypi token (#130)

fix: rename pypi token (03a9d90)

  • fix: use list for version_toml (#129)

fix: use list for version_toml (0fc3d45)

  • fix: reference to gh action pypi push (#128)

fix: reference to gh action pypi push (88b1fe9)

  • fix: fix pypi workflow (#127)

fix: fix pypi workflow (53c8e0d)

  • fix: fix release workflow (#126)

fix: fix release workflow (#125)

fix: fix release workflow (4d985e9)

  • fix: bump python-semantic-release (#124) (bbef3a7)

v3.9.2 (2024-06-07)

Fix

  • fix: make tests compatible with habluetooth>=3.0 (#123)

  • fix: make tests compatible with habluetooth>=3.0

The tests consume habluetooth via home-assistant-bluetooth, and in version 3.0 introduced the tx_power parameter in the constructor of BluetoothServiceInfoBleak.

  • fix: poetry lock

  • fix: poetry update

  • fix: use habluetooth

  • fix: remove py3.10 since its no longer supported upstream


Co-authored-by: J. Nick Koston <[email protected]> (92fceeb)

v3.9.1 (2024-06-05)

Fix

  • fix: accept new encryption counter only if the message was not corrupted (#119)

  • fix: accept new encryption counter only if the message was not corrupted

  • fix: check that message is not corrupted during wraparound too

  • feat: allow battery replacement caused resets

Remove the check for the highest counter value, as devices may restart the sequence for various reasons. A new security counter value will be accepted only if decryption is successful, indicating that the sender is either a legitimate user with the key, or is replaying BLE messages since the last setup or device reset. This requires an attacker to be extremely patient and dedicated, with questionable rewards.

v3.9.0 (2024-05-07)

Feature

  • feat: add button hold event (#120) (49124ab)

v3.8.1 (2024-03-18)

Fix

  • fix: remove mac workaround (#115)

  • fix: remove mac workaround (303f833)

v3.8.0 (2024-03-10)

Feature

  • feat: allow one failed decryption before reauth (#114)

  • feat: allow one failed decryption before reauth

  • fix: revert change for empty payload after decryption (7c499cc)

v3.7.0 (2024-03-08)

Feature

  • feat: add device title to log messages (#113)

  • feat: add device title to log messages

  • feat: add colon after device title (c47f36f)

v3.6.0 (2024-03-02)

Feature

  • feat: verify packet is not an older packet (#112)

  • feat: verfiy packet is not an older packet

  • feat: move to function and fix tests

  • chore: revise discard comment

  • chore: revise discard comment

  • chore: apply suggestions from code review

Co-authored-by: Ernst Klamer <[email protected]>


Co-authored-by: Ernst Klamer <[email protected]> (113e49d)

v3.5.0 (2024-01-18)

Feature

  • feat: add verification of the packet id (#105) (c428f92)

v3.4.2 (2024-01-17)

Fix

  • fix: fix counter verification (#104)

  • fix: fix counter verification

  • chore: improve coverage (dead672)

v3.4.1 (2024-01-10)

Fix

  • fix: use volume storage instead of water storage (#102) (4cf20bf)

v3.4.0 (2024-01-10)

Feature

  • feat: add water storage sensor (#101) (6eb80e0)

v3.3.1 (2023-12-15)

Fix

  • fix: no check of encryption counter when bindkey has not been verified (#97)

fix: no check of encryption counter when bindkey has not been verified yet (43f1412)

v3.3.0 (2023-12-13)

Feature

  • feat: add check for increasing encryption counter (#92)

  • feat: add check for increasing encryption counter

  • feat: add check for increasing encryption counter

  • feat: add check for increasing encryption counter

  • fix: verification of counter

  • fix: verification of counter

  • fix: do not update encryption counter if not increasing

  • fix: add exceptions for equal counter

  • fix: allow reset of the counter (a58cf7b)

v3.2.0 (2023-10-01)

Feature

  • feat: add raw hex sensor (#91) (6f9969e)

Refactor

  • refactor: remove dependency on pytz (#90) (4619caa)

v3.1.1 (2023-08-20)

Fix

  • fix: replace datetime.utcfromtimestamp (#87) (0184fe7)

v3.1.0 (2023-08-13)

Feature

  • feat: add text sensor (#86)

  • feat: add text sensor (2bfcd9b)

v3.0.0 (2023-07-15)

Breaking

  • feat: add ability to set the bind key after init (#83)

BREAKING CHANGE: the bindkey should no longer be set directly on the object, call set_bindkey instead (1826139)

v2.13.0 (2023-07-15)

Feature

  • feat: switch from pycryptodomex to cryptography (0cdc8e6)

Fix

Unknown

  • Merge pull request #81 from Bluetooth-Devices/cryptography

feat: switch from pycryptodomex to cryptography (e6c192c)

v2.12.2 (2023-07-15)

Fix

  • fix: decryption bug fixed (dfb12e6)

Unknown

  • Merge pull request #80 from Ernst79/decryption_fix

fix: decryption bug fixed (70dc4c7)

v2.12.1 (2023-07-07)

Chore

  • chore: bump bluetooth-sensor-state-data (54556a3)

Fix

  • fix: bump sensor-state-data to 2.16.1 (9657a91)

  • fix: fix for repeated events (285da3c)

Unknown

  • Merge pull request #79 from Ernst79/event_fix

fix: fix for repeated events (24d05e9)

v2.12.0 (2023-06-18)

Fix

  • fix: bump semantic release (ebe3484)

  • fix: fix failing tests (3cf0634)

Unknown

  • Merge pull request #77 from Bluetooth-Devices/semantic

fix: bump semantic release (74b38b7)

  • Merge pull request #76 from Bluetooth-Devices/test_fix

fix: fix failing tests (3e9d1ad)

  • Merge pull request #71 from Bluetooth-Devices/timestamp

feat: timestamp acceleration and gyroscope (25da3aa)

v2.11.3 (2023-05-19)

Feature

  • feat: timestamp acceleration and gyroscope (07c6b40)

Fix

  • fix: revert trigger based device name (f2b5303)

  • fix: use utcfromtimestamp (1fea0eb)

Unknown

  • Merge pull request #72 from Bluetooth-Devices/revert_sleepy_device_name

fix: revert trigger based device name (109b47f)

v2.11.2 (2023-05-12)

Fix

  • fix: pre-commit bump and bump release (97540cc)

Unknown

  • Merge pull request #69 from Bluetooth-Devices/precommit

fix: pre-commit bump and bump release (eed13ac)

v2.11.1 (2023-05-12)

Fix

  • fix: add trigger based device to device type (0d0076b)

Unknown

  • Merge pull request #68 from Bluetooth-Devices/sleep

fix: add trigger based device to device type (31e4b8c)

v2.11.0 (2023-05-04)

Feature

  • feat: add sleepy device bit (d61e63e)

Fix

Unknown

  • Merge pull request #67 from Bluetooth-Devices/sleepy

feat: add sleepy device bit (6027f94)

v2.10.1 (2023-04-28)

Fix

  • fix: add sleepy sensors to init (7a82a50)

Unknown

  • Merge pull request #65 from Bluetooth-Devices/export_sleepy_sensors

fix: add sleepy sensors to init (894caab)

v2.10.0 (2023-04-28)

Chore

  • chore: add tests for shelly button (c8c8365)

Feature

  • feat: add sleepy devices (2bcbf38)

Fix

Unknown

  • Merge pull request #64 from Bluetooth-Devices/sleepy_sensors

feat: add sleepy sensors (b58a63d)

  • Merge pull request #63 from Bluetooth-Devices/shelly_button_test

chore: add tests for shelly button (847509b)

v2.9.0 (2023-03-12)

Feature

Unknown

  • Merge pull request #57 from Bluetooth-Devices/water_sensors

feat: add water sensor (5a49e7c)

v2.8.0 (2023-03-05)

Feature

  • feat: add gas water energy meter (152bcea)

Unknown

  • Merge pull request #54 from Bluetooth-Devices/gas_energy

feat: add gas water energy meter (d18c753)

v2.7.0 (2023-02-25)

Feature

Unknown

  • Merge pull request #51 from Bluetooth-Devices/gas

feat: add gas sensor (05fcea0)

v2.6.0 (2023-02-17)

Feature

  • feat: add possibility to include mac in payload (1059aa1)

Fix

  • fix: fix flake 8 line length error (e7490b4)

Unknown

  • Merge pull request #48 from Bluetooth-Devices/mac

feat: add possibility to include mac in payload (ca69f29)

v2.5.2 (2023-02-10)

Fix

  • fix: parse objects of the same time correctly (#47)

  • fix: parse objects of the same time correctly

  • fix: readd previous fix for short advertisement decryption (27e5982)

v2.5.1 (2023-01-24)

Fix

  • fix: correct data length check (aed08c4)

Unknown

  • Merge pull request #44 from Bluetooth-Devices/data_length

fix: correct data length check (8764c65)

v2.5.0 (2023-01-11)

Feature

  • feat: add voltage with 1 digit (acd1da7)

Unknown

  • Merge pull request #40 from Bluetooth-Devices/voltage_2

feat: add voltage with 1 digit (d4ebe9e)

v2.4.1 (2023-01-04)

Fix

  • fix: bump sensor-state-data (1202ace)

  • fix: bump sensor-state-data (7bff7be)

  • fix: bump sensor-state-data (930b222)

Unknown

  • Merge pull request #38 from Bluetooth-Devices/dependencies_update

fix: bump sensor-state-data (ed294b4)

v2.4.0 (2022-12-17)

Feature

  • feat: add volume and packet id (aaefa4e)

Fix

  • fix: update tests and dependencies (bb9d0a2)

Unknown

  • Merge pull request #35 from Bluetooth-Devices/volume_and_packet_id

feat: volume (flow rate) and packet id support (8e49aea)

v2.3.1 (2022-11-19)

Fix

  • fix: warning for numerical order object id (b86feaa)

Unknown

  • Merge pull request #31 from Bluetooth-Devices/numerical-order-fix

fix: warning for numerical order object id (7404a9b)

v2.3.0 (2022-11-18)

Feature

  • feat: remove cipher update (21b9390)

Unknown

  • Merge pull request #30 from Bluetooth-Devices/fix-remove-cipher-update

feat: remove cipher update (b360294)

v2.2.1 (2022-11-07)

Fix

  • fix: multiple measurements fix (849deab)

Unknown

  • Merge pull request #29 from Bluetooth-Devices/multiple_event_fix

fix: multiple measurements fix (20ef2b8)

v2.2.0 (2022-11-06)

Feature

  • feat: update dependencies (a3e9daf)

Fix

  • fix: add tests for duration and temperature (552cbb8)

  • fix: uv and duration sensors (4130c71)

Unknown

  • Merge pull request #27 from Bluetooth-Devices/uv-and-duration

UV Index and Duration sensor (2ce1e87)

v2.1.0 (2022-11-03)

Feature

Fix

  • fix: update poetry file (90cf1ea)

Unknown

  • Merge pull request #23 from Bluetooth-Devices/new_object_ids

feat: new sensors (dd7b9da)

v2.0.0 (2022-11-01)

Breaking

Unknown

  • BREAKING CHANGE: v2 release (30547ca)

v1.4.0 (2022-11-01)

Feature

  • feat: remove object format and length byte (2f43a29)

  • feat: remove predefined device info (cb16b35)

  • feat: multiple measurements of the same type (e57ed3d)

  • feat: UUID V2 and adv_info byte (a4d6440)

Fix

  • fix: parser not parsing multiple uuids (#21) (e8d2646)

  • fix: adjust button events (b796cdb)

  • fix: logs and fix for wrong id (fc611c9)

  • fix: fix v1 tests (8099cad)

  • fix: add annotations (fb19043)

  • fix: button and dimmer events (ac3b8fa)

  • fix: wrong bthome device info byte (97d03ef)

  • fix: remove device_info_flag (f524294)

  • fix: resolve comments (5a904f6)

  • fix: improve coverage (f21a739)

  • fix: resolve comments review (e0d58a0)

  • fix: remove mac parser and code cleaning (4a4fe68)

Unknown

  • Merge pull request #13 from Bluetooth-Devices/V2

feat: v2 update (955c680)

  • Merge pull request #18 from Bluetooth-Devices/update_events

Button and dimmer events (48ad5d0)

  • Merge pull request #17 from Bluetooth-Devices/remove_object_format_length_byte

Remove object format length byte (3b366aa)

  • Merge branch 'V2' into remove_object_format_length_byte (ce64e65)

  • Merge pull request #16 from Bluetooth-Devices/remove-device_info_available-flag

Remove device info available flag (555b097)

  • Merge pull request #15 from Bluetooth-Devices/remove_device_info

feat: remove predefined device info (54547ab)

  • Merge pull request #14 from Bluetooth-Devices/multiple_meas_of_same_type

Multiple measurements of the same type (da5c3dd)

v1.3.0 (2022-10-04)

Feature

  • feat: force new release adding events (8ae802a)

Unknown

  • Add support for events (#12) (3518264)

v1.2.3 (2022-09-29)

Fix

  • fix: add missing comma (0f889e6)

  • fix: remove unused imports (8f45606)

  • fix: add test for encryption example (c323a31)

  • fix: fix formatting issues (47017b6)

  • fix: fix annotation (1bc8f72)

  • fix: fix formatting issues (801679e)

  • fix: remove use of predefined sensor wrapper (377adaa)

  • fix: remove unused lists (fd08fae)

Unknown

  • Merge pull request #11 from Bluetooth-Devices/bthome-encryption-example

fix: remove unused lists (a2a9058)

v1.2.2 (2022-09-14)

Fix

  • fix: remove update binary sensor (e529f89)

Unknown

  • Merge pull request #10 from Bluetooth-Devices/remove_update_binary_sensor

fix: remove update binary sensor (8ffda8e)

v1.2.1 (2022-09-13)

Fix

  • fix: remove empty line (5f7ba24)

  • fix: sort import order (ba5afd1)

  • fix: always use bthome device classes (15fa937)

Unknown

  • Merge pull request #9 from Bluetooth-Devices/fix_device_classes

fix: always use bthome device classes (283b24c)

v1.2.0 (2022-09-09)

Feature

  • feat: add binary sensors (c83d0da)

Fix

Unknown

  • Merge pull request #8 from Bluetooth-Devices/binarysensors

feat: add binary sensors (613648c)

v1.1.1 (2022-09-08)

Fix

  • fix: add binary sensor device class (d48783e)

v1.1.0 (2022-09-06)

Feature

  • feat: binary sensor support (35ec5e1)

Fix

Unknown

  • Merge pull request #7 from Bluetooth-Devices/binary_sensors

feat: add binary sensors (b01fdc8)

v1.0.0 (2022-09-01)

Breaking

  • feat!: bthome with capital h (c307462)

Feature

  • feat: change name of bthome with capital h (cf3c702)

Unknown

  • Merge pull request #6 from Bluetooth-Devices/BTHome_name

feat!: bthome with capital h (ca7733d)

  • BREAKING CHANGE: bthome with capital h (ad89b34)

v0.5.2 (2022-08-30)

Fix

  • fix: use full name for bparasite (bcd07da)

v0.5.1 (2022-08-29)

Fix

  • fix: fix tests for non standard device classes (d48ec31)

  • fix: use update_sonsor for other device classes (eabde87)

v0.5.0 (2022-08-28)

Feature

  • feat: add new sensor types (15ac53a)

Fix

  • fix: add test for b-parasite (ecbb823)

  • fix: bump sensor-state-data (e3e21af)

  • fix: lint errors (8c3697e)

Unknown

  • Merge pull request #5 from Bluetooth-Devices/new_sensors

feat: add new sensor types (1f732e8)

v0.4.0 (2022-08-26)

Feature

  • feat: get manufacturer from name (1e66c90)

v0.3.8 (2022-08-25)

Fix

v0.3.7 (2022-08-25)

Fix

  • fix: code format (f5c531f)

  • fix: use short address from data tools (722a97f)

Unknown

  • Merge pull request #4 from Ernst79/poetry-update

fix: code format (02cfcc9)

v0.3.6 (2022-08-24)

Fix

v0.3.5 (2022-08-24)

Fix

  • fix: workaround for empty service_uuids (2cab081)

v0.3.4 (2022-08-23)

Fix

Unknown

  • Merge pull request #3 from Bluetooth-Devices/guard-clause

Simplify parsing using guard clauses (0acf776)

v0.3.3 (2022-08-23)

Fix

  • fix: minor change to force a new release (a55133a)

Unknown

  • Simplify parsing using guard clauses (cdb8ead)

  • Merge pull request #2 from Bluetooth-Devices/postpone-read-mac

fix: only try to read mac when needed for decryption (1e5c938)

  • Only try to read mac when needed for decryption (5e0c6eb)

v0.3.2 (2022-08-21)

Fix

  • fix: supported sensor fix (0bc45bf)

Unknown

v0.3.1 (2022-08-21)

Fix

  • fix: remove double mac from name (eb77ad8)

Unknown

v0.3.0 (2022-08-19)

Feature

  • feat: add encryption support (e299228)

Fix

v0.2.2 (2022-08-18)

Fix

Unknown

v0.2.1 (2022-08-18)

Fix

v0.2.0 (2022-08-18)

Feature

  • feat(sensor-state-data): update dependency (b624ef5)

  • feat(poetry): update dependencies (b0177f4)

Fix

  • fix: delete poetry log (1376c47)

  • fix: update sensor-state-data version (132cf9e)

Unknown

  • Merge pull request #1 from Ernst79/poetry-setup

Poetry setup (e905b10)

v0.1.0 (2022-08-18)

Feature

Fix

Unknown