# CHANGELOG


## v0.36.0 (2025-03-31)

### Features

- Add ks1 and ks1bp ([#156](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/156),
  [`415a3b3`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/415a3b38b113256e700284198d9a2d911886d79a))


## v0.35.0 (2025-03-29)

### Chores

- Update dependabot.yml to include GHA
  ([`67fe52b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/67fe52b8ded47f0c2bfbfe5fe14bb4ecfae3dfac))

- **deps**: Bump orjson from 3.10.15 to 3.10.16
  ([#154](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/154),
  [`b90653c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b90653c96b35c2fa573c6207ec0f868f1f65fb2b))

Bumps [orjson](https://github.com/ijl/orjson) from 3.10.15 to 3.10.16. - [Release
  notes](https://github.com/ijl/orjson/releases) -
  [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md) -
  [Commits](https://github.com/ijl/orjson/compare/3.10.15...3.10.16)

--- updated-dependencies: - dependency-name: orjson dependency-type: direct:production

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-ci**: Bump the github-actions group with 8 updates
  ([#152](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/152),
  [`e1d1f5c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/e1d1f5c4f00c33ca7f680cf132b9ff0a16ba4f03))

* chore(deps-ci): bump the github-actions group with 8 updates

Bumps the github-actions group with 8 updates:

| Package | From | To | | --- | --- | --- | |
  [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | |
  [actions/setup-python](https://github.com/actions/setup-python) | `3` | `5` | |
  [pre-commit/action](https://github.com/pre-commit/action) | `3.0.0` | `3.0.1` | |
  [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) | `5` | `6`
  | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `3` | `5` | |
  [relekang/python-semantic-release](https://github.com/relekang/python-semantic-release) | `7.34.6`
  | `9.21.0` | |
  [browniebroke/hacktoberfest-labeler-action](https://github.com/browniebroke/hacktoberfest-labeler-action)
  | `2.2.0` | `2.3.0` | | [tiangolo/issue-manager](https://github.com/tiangolo/issue-manager) |
  `0.4.0` | `0.5.1` |

Updates `actions/checkout` from 3 to 4 - [Release
  notes](https://github.com/actions/checkout/releases) -
  [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) -
  [Commits](https://github.com/actions/checkout/compare/v3...v4)

Updates `actions/setup-python` from 3 to 5 - [Release
  notes](https://github.com/actions/setup-python/releases) -
  [Commits](https://github.com/actions/setup-python/compare/v3...v5)

Updates `pre-commit/action` from 3.0.0 to 3.0.1 - [Release
  notes](https://github.com/pre-commit/action/releases) -
  [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1)

Updates `wagoid/commitlint-github-action` from 5 to 6 -
  [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md) -
  [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5...v6)

Updates `codecov/codecov-action` from 3 to 5 - [Release
  notes](https://github.com/codecov/codecov-action/releases) -
  [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) -
  [Commits](https://github.com/codecov/codecov-action/compare/v3...v5)

Updates `relekang/python-semantic-release` from 7.34.6 to 9.21.0 - [Release
  notes](https://github.com/relekang/python-semantic-release/releases) -
  [Changelog](https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.rst)
  - [Commits](https://github.com/relekang/python-semantic-release/compare/v7.34.6...v9.21.0)

Updates `browniebroke/hacktoberfest-labeler-action` from 2.2.0 to 2.3.0 - [Release
  notes](https://github.com/browniebroke/hacktoberfest-labeler-action/releases) -
  [Changelog](https://github.com/browniebroke/hacktoberfest-labeler-action/blob/main/CHANGELOG.md) -
  [Commits](https://github.com/browniebroke/hacktoberfest-labeler-action/compare/v2.2.0...v2.3.0)

Updates `tiangolo/issue-manager` from 0.4.0 to 0.5.1 - [Release
  notes](https://github.com/tiangolo/issue-manager/releases) -
  [Commits](https://github.com/tiangolo/issue-manager/compare/0.4.0...0.5.1)

--- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production

update-type: version-update:semver-major

dependency-group: github-actions

- dependency-name: actions/setup-python dependency-type: direct:production

- dependency-name: pre-commit/action dependency-type: direct:production

update-type: version-update:semver-patch

- dependency-name: wagoid/commitlint-github-action dependency-type: direct:production

- dependency-name: codecov/codecov-action dependency-type: direct:production

- dependency-name: relekang/python-semantic-release dependency-type: direct:production

- dependency-name: browniebroke/hacktoberfest-labeler-action dependency-type: direct:production

update-type: version-update:semver-minor

- dependency-name: tiangolo/issue-manager dependency-type: direct:production

dependency-group: github-actions ...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update commitlint config

* chore: update pyproject for new psr

* chore: migrate workflow to upload python package

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: J. Nick Koston <nick@koston.org>

- **deps-dev**: Bump flake8 from 7.1.2 to 7.2.0
  ([#153](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/153),
  [`7d91379`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7d91379e515a51f49de12f54c05abcc65584d2d4))

Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.2 to 7.2.0. -
  [Commits](https://github.com/pycqa/flake8/compare/7.1.2...7.2.0)

--- updated-dependencies: - dependency-name: flake8 dependency-type: direct:development

update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

### Features

- Use trusted publishing for PyPI ([#155](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/155),
  [`95a54ad`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/95a54ad52cff260b26f3b05cd865f028afc3905d))


## v0.34.1 (2025-03-29)

### Bug Fixes

- Rewrite struct ([#151](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/151),
  [`98e313b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/98e313be6b057407385893833f4d6d9482568515))


## v0.34.0 (2025-03-29)

### Chores

- Add Python 3.13 to the CI ([#115](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/115),
  [`534a5e8`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/534a5e81448f6f52f76c754ce38a50582eb1c168))

- Create dependabot.yml
  ([`b291db2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b291db278bf3fedcf0f9b678a0eb1c95f5898c45))

- Update deps for Python 3.13 ([#123](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/123),
  [`ee474e7`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/ee474e789df55f69f0eb77dfd82e6610ddf35461))

- **deps**: Bump aiohttp from 3.10.10 to 3.11.11
  ([#110](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/110),
  [`a32edf3`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/a32edf330de1a0906f3df0f45b9672847e834b85))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump aiohttp from 3.11.11 to 3.11.12
  ([#137](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/137),
  [`ae27c17`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/ae27c1732682acd08d3a1f778e5b02a9a5960cab))

- **deps**: Bump aiohttp from 3.11.12 to 3.11.13
  ([#142](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/142),
  [`a20032e`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/a20032e70f083bda4fb9d24536df4f402dfb2f38))

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.11.12 to 3.11.13. - [Release
  notes](https://github.com/aio-libs/aiohttp/releases) -
  [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) -
  [Commits](https://github.com/aio-libs/aiohttp/compare/v3.11.12...v3.11.13)

--- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump aiohttp from 3.11.13 to 3.11.14
  ([#144](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/144),
  [`237e9fe`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/237e9fe04a73ee6678b41ccdf4424d52143755d1))

--- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump bluetooth-sensor-state-data from 1.7.1 to 1.7.5
  ([#136](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/136),
  [`8df0798`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8df07985636c5650c8802ff837f5959704005ac8))

- **deps**: Bump certifi from 2023.11.17 to 2024.7.4
  ([#116](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/116),
  [`32ece70`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/32ece7046f5a44b1476a7d00919d3a7a6b4f8bcb))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump cryptography from 41.0.7 to 43.0.1
  ([#120](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/120),
  [`b5c6524`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b5c6524760731d953b2bc01fe4d1d626758656fa))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump idna from 3.6 to 3.7
  ([#118](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/118),
  [`ff0ccac`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/ff0ccac7c2921f09c2aaec7d6bc7aa8fdd4919b2))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump jinja2 from 3.1.2 to 3.1.5
  ([#117](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/117),
  [`76120db`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/76120db87270e1ddcc3fbb3f980f1b6ebee5f299))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump jinja2 from 3.1.5 to 3.1.6
  ([#146](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/146),
  [`8f64c7b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8f64c7b7b92c6e8d64d2f874f9bb03793ff46bd7))

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6. - [Release
  notes](https://github.com/pallets/jinja/releases) -
  [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) -
  [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

--- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump myst-parser from 0.18.1 to 1.0.0
  ([#126](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/126),
  [`f9f1e0b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f9f1e0bfb9a764c56cd4527d74f49f6bd66d05c6))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump myst-parser from 1.0.0 to 3.0.1
  ([#132](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/132),
  [`68e4f90`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/68e4f90283e1806e65600234d4730f49e166cb5c))

Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 1.0.0 to 3.0.1. - [Release
  notes](https://github.com/executablebooks/MyST-Parser/releases) -
  [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md) -
  [Commits](https://github.com/executablebooks/MyST-Parser/compare/v1.0.0...v3.0.1)

--- updated-dependencies: - dependency-name: myst-parser dependency-type: direct:production

update-type: version-update:semver-major ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump pycryptodomex from 3.21.0 to 3.22.0
  ([#145](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/145),
  [`492010a`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/492010a3606a1e6426dd7d4e3a22360214ac75ca))

- **deps**: Bump requests from 2.31.0 to 2.32.2
  ([#121](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/121),
  [`b1355f2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b1355f262cb134aecb794552d82206bab0bf7c9b))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump sphinx from 5.3.0 to 6.2.1
  ([#127](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/127),
  [`a2da09e`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/a2da09e57f8add15f4b2939d3df9b4bf88821f61))

- **deps**: Bump sphinx from 6.2.1 to 7.4.7
  ([#134](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/134),
  [`6a5e11c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/6a5e11cd5a0140542c2a2f02cfaaeb60e2b60a43))

- **deps**: Bump sphinx-rtd-theme from 1.3.0 to 2.0.0
  ([#125](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/125),
  [`f3133ed`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f3133ed85471250f4e5f9ffc9bd72d6f591fe058))

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.3.0 to 2.0.0. -
  [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst) -
  [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.3.0...2.0.0)

--- updated-dependencies: - dependency-name: sphinx-rtd-theme dependency-type: direct:production

update-type: version-update:semver-major ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps**: Bump sphinx-rtd-theme from 2.0.0 to 3.0.2
  ([#131](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/131),
  [`bba51cd`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bba51cd0a262e520ae9f8a3b15c3517aa9f047f9))

- **deps**: Bump urllib3 from 2.1.0 to 2.2.2
  ([#119](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/119),
  [`372fe44`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/372fe44d7164fbba9231353def30865679e337da))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump black from 23.12.1 to 24.10.0
  ([#114](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/114),
  [`3f74088`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/3f74088640367cfc79a2c334793cba1a1754e44a))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump black from 24.10.0 to 25.1.0
  ([#129](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/129),
  [`00df853`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/00df853e955ee6cfaf7397d0924ed96829b09d50))

- **deps-dev**: Bump flake8 from 7.0.0 to 7.1.1
  ([#111](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/111),
  [`ee96510`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/ee96510187c70b698c5def2c21aa86012a141879))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump flake8 from 7.1.1 to 7.1.2
  ([#139](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/139),
  [`40baa29`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/40baa299a47e744f0a465d7a6f21eebec8196bfb))

Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.1 to 7.1.2. -
  [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2)

--- updated-dependencies: - dependency-name: flake8 dependency-type: direct:development

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump isort from 5.13.2 to 6.0.0
  ([#130](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/130),
  [`7f9cb1c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7f9cb1c0cb408ffbf832ec20ab3a430f0f93b91c))

Bumps [isort](https://github.com/pycqa/isort) from 5.13.2 to 6.0.0. - [Release
  notes](https://github.com/pycqa/isort/releases) -
  [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) -
  [Commits](https://github.com/pycqa/isort/compare/5.13.2...6.0.0)

--- updated-dependencies: - dependency-name: isort dependency-type: direct:development

update-type: version-update:semver-major ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump isort from 6.0.0 to 6.0.1
  ([#143](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/143),
  [`e57a9e6`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/e57a9e6f0e8333bf88620c0ea405088b81963486))

Bumps [isort](https://github.com/PyCQA/isort) from 6.0.0 to 6.0.1. - [Release
  notes](https://github.com/PyCQA/isort/releases) -
  [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) -
  [Commits](https://github.com/PyCQA/isort/compare/6.0.0...6.0.1)

--- updated-dependencies: - dependency-name: isort dependency-type: direct:development

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump mypy from 1.14.1 to 1.15.0
  ([#135](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/135),
  [`1ac5955`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/1ac5955acd59087ca10e7ad169ae3aa3ef8eaf25))

Bumps [mypy](https://github.com/python/mypy) from 1.14.1 to 1.15.0. -
  [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) -
  [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0)

--- updated-dependencies: - dependency-name: mypy dependency-type: direct:development

update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump mypy from 1.8.0 to 1.14.1
  ([#113](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/113),
  [`f3cceb4`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f3cceb42c506bb2142e4f74f8f6194061631028b))

- **deps-dev**: Bump pytest from 7.4.4 to 8.3.4
  ([#112](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/112),
  [`9a4109c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/9a4109c8ada297babd478781e80c23f8edc81907))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump pytest from 8.3.4 to 8.3.5
  ([#141](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/141),
  [`7a1f267`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7a1f267107c5255fd7e70a60d8e3b7deb4d17a8e))

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.4 to 8.3.5. - [Release
  notes](https://github.com/pytest-dev/pytest/releases) -
  [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) -
  [Commits](https://github.com/pytest-dev/pytest/compare/8.3.4...8.3.5)

--- updated-dependencies: - dependency-name: pytest dependency-type: direct:development

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump pytest-cov from 4.1.0 to 6.0.0
  ([#124](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/124),
  [`1df7541`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/1df7541126830f03ca2de0886d25c1a2d1745b16))

Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 6.0.0. -
  [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) -
  [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v6.0.0)

--- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:development

update-type: version-update:semver-major ...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **deps-dev**: Bump zipp from 3.17.0 to 3.19.1
  ([#122](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/122),
  [`bafacf5`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bafacf57b1aa4cddabd9c755e668943cfa65b3ba))

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

- **pre-commit.ci**: Pre-commit autoupdate
  ([#101](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/101),
  [`7951a00`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7951a002e3570d42be328d3d0f16a93048690ef0))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#102](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/102),
  [`6599a90`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/6599a907cd470a606863d7bf9c456696d3298a9a))

updates: - [github.com/commitizen-tools/commitizen: v3.30.1 →
  v3.31.0](https://github.com/commitizen-tools/commitizen/compare/v3.30.1...v3.31.0)

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#103](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/103),
  [`fb68075`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/fb68075c12fd2f652d83387df5496b63006e1d8b))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#104](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/104),
  [`705bc17`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/705bc1722be9a74d5692f8a237e0c5bbb0e4821c))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#106](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/106),
  [`c4bc481`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c4bc481244624e20c1ba026891ee2482c4c4024e))

updates: - [github.com/asottile/pyupgrade: v3.19.0 →
  v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.19.0...v3.19.1) -
  [github.com/pre-commit/mirrors-mypy: v1.13.0 →
  v1.14.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.0)

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#109](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/109),
  [`f12043e`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f12043e357a25abda66460e2b12b1aeac70e2a92))

- **pre-commit.ci**: Pre-commit autoupdate
  ([#128](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/128),
  [`28485cd`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/28485cdbac8415b1d00bed504f4865482b270960))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#133](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/133),
  [`becc164`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/becc164c9cfd4cc0e332b05689fef869f693181c))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#138](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/138),
  [`82c2fcb`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/82c2fcbc445eaf831a613d37fa1ebeb38dfdd4ac))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#140](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/140),
  [`6170b12`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/6170b12726629107c43da324e056084df1dd7187))

updates: - [github.com/commitizen-tools/commitizen: v4.2.1 →
  v4.4.1](https://github.com/commitizen-tools/commitizen/compare/v4.2.1...v4.4.1) -
  [github.com/PyCQA/isort: 6.0.0 → 6.0.1](https://github.com/PyCQA/isort/compare/6.0.0...6.0.1)

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#99](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/99),
  [`6f9b5c2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/6f9b5c2bf069083fd795bcfa7c601ae86abd1d3a))

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

### Features

- Add support for MJWSD06MMC ([#150](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/150),
  [`51cbe1c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/51cbe1c364d6983decf9596fee8d1caf4501ff84))


## v0.33.0 (2024-10-21)

### Chores

- **pre-commit.ci**: Pre-commit autoupdate
  ([#97](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/97),
  [`cf7a512`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/cf7a512c931326e6a64ae1e462e4e3ebed71c3b0))

updates: - [github.com/commitizen-tools/commitizen: v3.29.0 →
  v3.29.1](https://github.com/commitizen-tools/commitizen/compare/v3.29.0...v3.29.1) -
  [github.com/pre-commit/pre-commit-hooks: v4.6.0 →
  v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) -
  [github.com/asottile/pyupgrade: v3.17.0 →
  v3.18.0](https://github.com/asottile/pyupgrade/compare/v3.17.0...v3.18.0) -
  [github.com/psf/black-pre-commit-mirror: 24.8.0 →
  24.10.0](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...24.10.0) -
  [github.com/PyCQA/bandit: 1.7.9 → 1.7.10](https://github.com/PyCQA/bandit/compare/1.7.9...1.7.10)

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

### Features

- Add support for extracting cloud keys
  ([#98](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/98),
  [`fdc3b90`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/fdc3b90cc07cd7e86e031c78bbb379800f549e72))


## v0.32.0 (2024-09-07)

### Features

- Support xiaomi motion sensor 2s - global version (XMPIR02SGXS)
  ([#95](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/95),
  [`7e30569`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7e30569a56b2668cd88ac1b4ee3d7454901e0c37))

It's actually the same as the China mainland version (XMPIR02SXS vs XMPIR02SGXS). The only change is
  the device id as the code change indicates. The change is manually verified by Home Assistant (no
  change except use the new xiaomi-ble package)

Hardware Info: - https://www.mi.com/global/product/xiaomi-motion-sensor-2s/


## v0.31.1 (2024-08-28)

### Bug Fixes

- Add xmosb01xs as a sleepy device ([#94](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/94),
  [`648c7f8`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/648c7f80e4c1e9e9868b974e49e7da564457c094))

this battery device is really a sleepy device. it won't broadcast any occupancy message unless it is
  changed.


## v0.31.0 (2024-08-27)

### Chores

- **pre-commit.ci**: Pre-commit autoupdate
  ([#85](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/85),
  [`86c8e6b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/86c8e6b0388c8afd3a6787587d5575f263eac4ab))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#86](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/86),
  [`c9aa15c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c9aa15c7a41af6e83c1d6bed535e1a6b59f0a92e))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#87](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/87),
  [`daa5786`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/daa5786e8488b2cdaf823eee5dd2236bdc6ce6fe))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#88](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/88),
  [`8ec6e14`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8ec6e14e0b7a27205d763fb7c5a8ca01218dc634))

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

- **pre-commit.ci**: Pre-commit autoupdate
  ([#89](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/89),
  [`cf115f6`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/cf115f6b94ab461afab6cc2c4f6d4f64b310ccae))

updates: - [github.com/pre-commit/mirrors-mypy: v1.11.1 →
  v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.1...v1.11.2)

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

### Features

- Support xiaomi occupancy(human presence) sensor (XMOSB01XS)
  ([#93](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/93),
  [`f10c72b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f10c72b166572e8e711469da693192cdab5049c2))

feat: support 2024 new battery based xiaomi mijia occupancy(human presence) sensor (XMOSB01XS)

New test cases are added. Also the change is verified by Home Assistant (with a small additional
  change in xiaomi-ble component for additional new properties)

Hardware Info: - https://www.aliexpress.com/i/1005007104780534.html -
  https://www.mi.com/shop/buy/detail?product_id=19994


## v0.30.2 (2024-07-05)

### Bug Fixes

- Force release
  ([`cf7d48c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/cf7d48c2194666eaede56ebd9ab3bfbc5ddfe3b1))

- Force release
  ([`7bcbda1`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7bcbda1a6468fad98a0959cc05001ddbd478b81b))

- Force release
  ([`bae0ff3`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bae0ff33e69ac4b40f5e6f090e3dbfd7af241ff8))

- Force release
  ([`2ed0584`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2ed05848718d1d80a7edb410bd7a229f8334d4de))

### Chores

- **pre-commit.ci**: Pre-commit autoupdate
  ([#82](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/82),
  [`0ee3610`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/0ee3610c1df7e24f32417c8ba5fd37d4a1700ced))

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


## v0.30.1 (2024-06-25)

### Bug Fixes

- Fix license classifier ([#81](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/81),
  [`27072da`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/27072da63e01204f3bae81b7ddf734790896f0b5))

Looks good :) thanks


## v0.30.0 (2024-06-17)

### Features

- Extend battery level reading to gcls002
  ([`49530c5`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/49530c53893da290c26c4236d714a67df58612ff))

feat: extend battery level reading to gcls002


## v0.29.0 (2024-05-05)

### Features

- Add support for Linptech RS1BB(MI)
  ([#77](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/77),
  [`57d070c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/57d070c71282c43882bc64117c709cdf1aec8f09))

* feat: add support for RS1BB


## v0.28.0 (2024-03-24)

### Features

- Allow one failed decryption before reauth
  ([#76](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/76),
  [`4682109`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/46821098f2d34b4c0c7c0244708500b4aa72f19e))


## v0.27.1 (2024-03-17)

### Bug Fixes

- Remove mac workaround ([#75](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/75),
  [`c5a900c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c5a900c5d6e23b62769a16c0840ceed174c3a8da))


## v0.27.0 (2024-03-10)

### Features

- Add ptx and xmpiro2sx ([#74](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/74),
  [`b0bb42f`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b0bb42f777c9c5bdc6bc12590334bfc741b199a0))

* feat: add ptx and xmpiro2sx

* fix: rename ptx


## v0.26.2 (2024-03-10)

### Bug Fixes

- Handle jagged stairstep for LYWSD03MMC humidity
  ([#73](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/73),
  [`efb3229`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/efb322909933ac820b32012913ff3c35f9ca3659))

* fix: handle jagged stairstep for LYWSD03MMC humidity


## v0.26.1 (2024-02-18)

### Bug Fixes

- Typo in lock events ([#71](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/71),
  [`9918c70`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/9918c7004f4ed4d12045bcb486dc762064e8510f))


## v0.26.0 (2024-02-18)

### Features

- Add support for locks and fingerprint readers
  ([#70](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/70),
  [`2cffc70`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2cffc70d451614a671833274947911a123a8f3b0))

* feat: add support for locks and fingerprint readers

* fix: add key id type

* fix: typo in fingerprint event

* fix: add fingerprint event

* fix: typo in lock event


## v0.25.2 (2024-02-02)

### Bug Fixes

- Proper event_properties formatting
  ([#69](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/69),
  [`86bced3`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/86bced38755551014d1273c69c6b80b79e3eb05a))

* fix: proper event_properties formatting

* fix: fix tests property_events

* fix: formatting of the tests


## v0.25.1 (2024-02-02)

### Bug Fixes

- Rename rubiks_cube to cube ([#68](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/68),
  [`65c7b3d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/65c7b3d830bf9256ea60b8d8a15236a49b6ddd65))


## v0.25.0 (2024-02-02)

### Features

- Add dimmer and rubiks cube events ([#67](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/67),
  [`33db2b0`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/33db2b09d360a9e2f010ac2ad2ec5d199e65cf3f))


## v0.24.1 (2024-02-01)

### Bug Fixes

- Postfix plus and min ([#66](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/66),
  [`d8caf82`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/d8caf825ea08bda7101c13f15d50db053c667e3c))


## v0.24.0 (2024-01-31)

### Features

- Add remote buttons ([#65](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/65),
  [`380a803`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/380a80301e126150e87bb67e47c30c93dd28c0ff))


## v0.23.1 (2024-01-28)

### Bug Fixes

- Use postfix id for double buttons ([#64](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/64),
  [`6469a6d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/6469a6dc2319549d5ee915135738573436c959da))


## v0.23.0 (2024-01-27)

### Features

- Add button devices with multiple buttons
  ([#63](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/63),
  [`740679c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/740679ce362d4201c816655e997f8223021fa7a1))


## v0.22.0 (2024-01-27)

### Features

- Add events for single button devices
  ([#62](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/62),
  [`2110db9`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2110db95c2670bfeda24ed7c0d0bf87bf559d45e))


## v0.21.2 (2024-01-11)

### Bug Fixes

- Bump pycryptodomex ([#61](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/61),
  [`8bcefae`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8bcefaed9b8aa106cf37321793e147287779d4da))

* fix: bump pycryptodomex

* fix: update poetry lock file

* chore: run poetry update

---------

Co-authored-by: J. Nick Koston <nick@koston.org>

### Chores

- Fix release
  ([`1d403f0`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/1d403f0b782fc1e0ba738cf9660576429286b7a5))


## v0.21.1 (2023-07-26)

### Bug Fixes

- Add unit of measurement to counter
  ([#56](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/56),
  [`22956f8`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/22956f87269859e9ca94fb96c55a9a90fe45a4ac))

fix: add unit of measurment to counter


## v0.21.0 (2023-07-26)

### Features

- Add support for toothbrushes ([#55](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/55),
  [`b3534f9`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b3534f9daeef535372ffd5746d6662b1869f084e))

* feat: add support for toothbrushes

* feat: add score sensor for toothbrushes

* fix: precommit errors


## v0.20.0 (2023-07-23)

### Features

- Add mi scale v1 ([#54](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/54),
  [`57dc01a`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/57dc01a0f665af945540f7d01356030ce065b96a))

* feat: add mi scale v1

* fix: check for mass not removed

* fix: check for mass removed before reporting final data


## v0.19.1 (2023-07-20)

### Bug Fixes

- Remove some dependencies ([#53](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/53),
  [`9d11d62`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/9d11d620557ec95d0bdf9112b8cf69e82031a006))

* fix: remove some dependencies

* fix: poetry lock


## v0.19.0 (2023-07-20)

### Features

- Switch from pycryptodomex to cryptography for v4 and v5
  ([#48](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/48),
  [`382beea`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/382beeadea23216c185428d2ada784a3e6fe6660))

* feat: switch from pycryptodomex to cryptography for v4 and v5


## v0.18.2 (2023-07-19)

### Bug Fixes

- Use only kg for mass ([#51](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/51),
  [`93b5c9f`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/93b5c9ff0e0360b4c54d4bae603d0eb45198c8a3))

### Chores

- Re-release ([#52](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/52),
  [`73b626d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/73b626d954e67b57f6fdff470e9acbfb8a172370))


## v0.18.1 (2023-07-17)

### Bug Fixes

- Use sensor state data for scale sensors
  ([#50](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/50),
  [`fcfa510`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/fcfa5100dfebb9dd451afdb7395eef530c7f3abb))

* fix: use sensor state data for scale sensors

* chore: improve coverage


## v0.18.0 (2023-07-16)

### Chores

- Bump python semantic release ([#49](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/49),
  [`fa35709`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/fa357098f63c63478eb1fa83e2b220e67160430b))

### Features

- Add support for mi body composition scale 2
  ([#47](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/47),
  [`3755aed`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/3755aede1da4e4a11c5534ef1b731a33f6f2b39c))

* feat: add support for mi body composition scale 2

* fix: correct scale device type

* test: add test for scale parser


## v0.17.2 (2023-06-03)

### Bug Fixes

- Jtyjgd03mmi is now detected as smoke sensor
  ([#46](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/46),
  [`9e06702`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/9e0670252ebe9802fdf5eaec030f23813090da02))


## v0.17.1 (2023-05-21)

### Bug Fixes

- Add sleepy_device property ([#44](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/44),
  [`fac1009`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/fac1009acdd4a31daa9e50eb6fffea6d0bff1702))

* fix: add sleepy_device property

* fix: shorten code


## v0.17.0 (2023-04-03)

### Features

- Add updated lywsd02mmc device type and mmc w505 body temperature sensor
  ([`23f85e2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/23f85e29e887e042fe2eeea83b15ca2e1beeea08))


## v0.16.4 (2023-02-17)

### Bug Fixes

- Add jtyjgd03mi to sleepy devices ([#42](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/42),
  [`bcf72a2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bcf72a21f95ba932f361b203bee9dc804776c15b))


## v0.16.3 (2023-02-09)

### Bug Fixes

- Add rtcgq02lm to sleepy devices ([#41](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/41),
  [`899e084`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/899e0845211d1ab796a67379c0d99393828c02df))


## v0.16.2 (2023-02-07)

### Bug Fixes

- Add sleepy devices ([#40](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/40),
  [`70137b4`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/70137b4addd9d67617de4d64464872f2a146928d))

* fix: add sleepy devices

* fix: use set for sleepy devices


## v0.16.1 (2023-02-05)

### Bug Fixes

- Relax bleak-retry-connector ([#38](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/38),
  [`59abc8b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/59abc8be1ea3e0a6c3c94353f54e5d131c155a11))

### Chores

- Add py311 to the CI ([#39](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/39),
  [`642de25`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/642de25a941e1b729be643dd7e31aa83efd4431d))


## v0.16.0 (2023-02-05)

### Bug Fixes

- Bump python-semantic-release ([#37](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/37),
  [`f2703fd`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f2703fd49c0f4aafdba6983e0cf92bf4b2558882))

- Bump version
  ([`f9d9eb9`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f9d9eb9656bde85124b4340cac79d1ccd8da748e))

- Force release ([#35](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/35),
  [`5e9c736`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/5e9c736bfaa035a6418c59031ec6ab137fee5e06))

- Force release ([#36](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/36),
  [`3f94b0f`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/3f94b0fd4449cd015858a6ed32426727a0be79a1))

- Revert version bump
  ([`51d208a`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/51d208ac8262d0d7af96ceb10b8c5856402f8ad4))

- Revert version bump
  ([`bd8f028`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bd8f0284a9011bb45b94879152f66619f71fd72f))

- Update dependencies
  ([`e0bce32`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/e0bce3286b65c5e328c1b29ab82c7817fa51d24c))

* fix: update poetry and pyproject file

* fix: bump isort

* fix: bump isort in precommit

### Features

- Bump version
  ([`880f12d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/880f12d39f18c07e291cc26d832cba65817a412f))

- Implement motion timeout
  ([`2818f1f`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2818f1f6b25410168d59ca3f342801d222cee11e))

feat(RTCGQ02LM): implement motion timeout


## v0.15.0 (2023-01-04)

### Features

- Motion events ([#31](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/31),
  [`2a52c1e`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2a52c1eaafa02b7f00c649cebad0a3d304e5d15d))


## v0.14.3 (2023-01-03)

### Bug Fixes

- Assign unique keys to device class
  ([#30](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/30),
  [`09a9fbb`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/09a9fbb0a088357ac585805bd1bb0db5def9c75c))


## v0.14.2 (2023-01-03)

### Bug Fixes

- Extend binary sensor enums ([#29](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/29),
  [`4563a9b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/4563a9bdf86bc1cd40dd86a141437bf20de1f7d6))

* fix: extend binary sensor enums

* fix: typo

* fix: add base device class

* fix: separate enum


## v0.14.1 (2023-01-02)

### Bug Fixes

- Lower bleak version requirement ([#28](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/28),
  [`c9a80ac`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c9a80ac1f6fcc433cd9499092c759d195309c2e4))

* fix: lower bleak dependency requirement

* fix: bleak dependency


## v0.14.0 (2023-01-01)

### Features

- Add new xiaomi sensors ([#27](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/27),
  [`a39a5f9`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/a39a5f9c22fa7e497891bbaa147a4f756c922afa))

* feat: add new xiaomi sensors


## v0.13.0 (2023-01-01)

### Features

- Add door opening and motion sensors
  ([#26](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/26),
  [`3e0babd`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/3e0babdde9a69aabd470506f908be55673708671))

* feat: add more binary sensors

* fix: fix tests and bump dependecies

* fix: add more tests

* feat: add problem sensors for opening and door

* feat: add motion sensors

* fix: remove mode sensor for now

* fix: do not use predefined sensors

* fix: remove mue4094rt


## v0.12.2 (2022-11-15)

### Bug Fixes

- Bump sensor-state-data ([#24](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/24),
  [`c2dd39c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c2dd39ca898910c6458f90033068d8924ecadf51))


## v0.12.1 (2022-11-13)

### Bug Fixes

- Unit of measurement formaldehyde ([#23](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/23),
  [`48035a1`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/48035a1dd704c23d1b8e74be0c7342d7d7da61b7))


## v0.12.0 (2022-11-12)

### Features

- Add support for HHCCJCY10 ([#21](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/21),
  [`0f387c2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/0f387c244644a8469de935ce4e5800d882868d81))

* feat: add support for HHCCJCY10

* feat: add new device_classes

Co-authored-by: Ernst Klamer <e.klamer@gmail.com>


## v0.11.0 (2022-11-09)

### Features

- Add linptech ms1bb and hs1bb
  ([`52a21dd`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/52a21dd062d9a2172c8e23008f1ee80bbef6ce5e))

* feat: add linptech m1sbb

* fix: fix test m1sbb

* fix: use bind key in m1sbb test

* fix: improve test coverage

* fix: fix button test

* fix: formatting

* Add HS1BB(MI) motion sensor

* fix: formatting issues

* fix: linting issue


## v0.10.0 (2022-09-13)

### Features

- Update for bleak 0.17 support ([#19](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/19),
  [`db14912`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/db14912f6c57f20363e85d49fe320765606e7ed3))


## v0.9.3 (2022-09-12)

### Bug Fixes

- Bump bleak-retry-connector ([#18](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/18),
  [`08fc5aa`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/08fc5aab0e6cf2e772cff962c7cf801328ef66e9))


## v0.9.2 (2022-08-25)

### Bug Fixes

- Use short_address from bluetooth_data_tools
  ([#16](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/16),
  [`d370cca`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/d370cca23c4c585437de5946d33383a550d06bc3))


## v0.9.1 (2022-08-16)

### Bug Fixes

- Rename Smart Door Lock E ([#13](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/13),
  [`ef11f5f`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/ef11f5fd799e9a67223b8dbe5569a33c3e214bc0))


## v0.9.0 (2022-08-11)

### Features

- Intial support for binary_sensor devices
  ([#12](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/12),
  [`fc0ff14`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/fc0ff143d695beedd190cc002e1173c8c17f5783))


## v0.8.2 (2022-08-11)

### Bug Fixes

- Set title and device name to something useful
  ([`73c4d4b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/73c4d4b59f6729f9806bdf85d2544698840f4198))

### Chores

- Black tests
  ([`09c0b0e`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/09c0b0e743ddbf78c3324ad769a1d11d202e919f))


## v0.8.1 (2022-08-11)

### Bug Fixes

- Never poll if still pending
  ([`f617708`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f617708e4f67d0a6a4d0b853efee5568a14f8aba))

### Chores

- Lint
  ([`346ceae`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/346ceae4e2fed90991ab663d319e341ff9947423))


## v0.8.0 (2022-08-06)

### Features

- Support polling MiFlora battery ([#11](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/11),
  [`f08707b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f08707bd45d250a44ea7ca5da059feae61851089))


## v0.7.0 (2022-08-01)

### Features

- Add XMZNMSBMCN03 ([#9](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/9),
  [`7ff0d49`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7ff0d49f73f8150e520aaa77868a4f1bd65363b1))


## v0.6.4 (2022-08-01)

### Bug Fixes

- Refactor tests to avoid mypy failure
  ([`c1456d7`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c1456d7fd96300ffc7bcc21c7d17d6ec63e7a287))

- Track last full service info so that we can quickly reauth the bindkey
  ([`c4feb20`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c4feb20468fdfdd1a9c80c0bee77bef2a250d462))


## v0.6.3 (2022-08-01)

### Bug Fixes

- Unset bindkey_verified if bindkey starts to fail
  ([`d2fc9eb`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/d2fc9eb36289a0c4779e97439e682016ae0de1fc))


## v0.6.2 (2022-07-28)

### Bug Fixes

- Track whether or not we have seen a packet with a payload (HA75833)
  ([#8](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/8),
  [`c99f9a2`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c99f9a2cbd09ac6cebd31349d49d6f038bfea0e6))


## v0.6.1 (2022-07-27)

### Bug Fixes

- Voltage sensor should have a device class
  ([`600bb78`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/600bb7819752b6f742e515eea177b65c83b1d3dc))

### Chores

- Lint fixes
  ([`667239b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/667239b568d324a7f552467c040b1529f97a3ae2))


## v0.6.0 (2022-07-25)

### Features

- Add Formaldehyde, Consumable and Voltage sensor
  ([`8292de7`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8292de7425597897d562ea43380af221c661df90))


## v0.5.2 (2022-07-25)

### Bug Fixes

- Add special casing for when illumination is used for a binary sensor instead of a sensor
  ([`59c5729`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/59c5729b4c2f39944d61ab65c3aee40c6d041d21))


## v0.5.1 (2022-07-24)

### Bug Fixes

- Unset bindkey_verified on legacy devices if payload is corrupt as may be wrong key
  ([`f57827a`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/f57827a7caa0c9c6721f1d9773e89f3472ccf5c7))


## v0.5.0 (2022-07-24)

### Features

- New bindkey_verified variable to track whether encryption is working
  ([`dc622a5`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/dc622a511e1909d96d706b77ff86c8ad1905bda0))


## v0.4.1 (2022-07-24)

### Bug Fixes

- Hide encrypted devices on macOS where we don't know MAC address (for now)
  ([`20d0e62`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/20d0e62939907b8d58888cd346bda5f3365f943c))


## v0.4.0 (2022-07-23)

### Features

- Expose type of encryption to use on XiaomiBluetoothDeviceData
  ([`935482d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/935482d0a78daf10b6e2ff772d32d195eba923ea))


## v0.3.0 (2022-07-23)

### Features

- Add lux sensor to cgpr1 ([#5](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/5),
  [`accb30e`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/accb30eaa5dc710518e02b92bbfa1ed6c495c992))


## v0.2.0 (2022-07-23)

### Bug Fixes

- Fix test regression
  ([`1f80374`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/1f80374c5c56049235ee55f1fc885b8da2cadbb6))

- Remove stray print
  ([`55d67d7`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/55d67d741c1c7dd8da14729619515e09680542e1))

### Chores

- Fix lints
  ([`7511a1a`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/7511a1a435d61f246aadf497cdf5529492a24cdb))

### Features

- Add support for more sensor types
  ([`0a87594`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/0a875940fdf7330d53a03f3ca7b7a489353396b6))


## v0.1.0 (2022-07-22)

### Features

- Add release notes for 0.0.5
  ([`2a1d8c5`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2a1d8c510e31e82bbc22d191eb98efc9a3cf65e8))

- Add SU001-T ([#2](https://github.com/Bluetooth-Devices/xiaomi-ble/pull/2),
  [`2281d03`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2281d033323f8e78e5c2a192c8a900efe859308b))

- Bump version
  ([`01656a0`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/01656a03ae6ece3bbcf361bf14355894cf359f0d))


## v0.0.4 (2022-07-22)

### Bug Fixes

- Workaround not knowing MAC on macOS
  ([`adcb639`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/adcb63967dbdfcd502c5fd15c27c33ceca5c7638))


## v0.0.3 (2022-07-22)

### Bug Fixes

- Trim service uuid from start of service data
  ([`8c35dc1`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8c35dc16cf3a782f045d567bdce26e5a3296bbf9))


## v0.0.2 (2022-07-22)

### Bug Fixes

- Re-export sensor state classes like other bluetooth helpers
  ([`b7b97ba`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/b7b97ba50963218d45d9d883179302aca08987ca))


## v0.0.1 (2022-07-22)

### Bug Fixes

- Get remaining tests working
  ([`8a042e4`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/8a042e4e2ef64151b6ad1db45ba9164d97a536cb))

- Give all tests right MAc, so validation passes on linux
  ([`da76a1d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/da76a1dbad06e8eb0c990355d4b84dee3db23860))

- Use fromutctimestamp for stable tests
  ([`c1e574c`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/c1e574c7a3e3eed98ee061764efc37599b9c251b))

### Chores

- __init__ version number
  ([`af8812d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/af8812d4307350fad8247a8d1aa97766b764d236))

- Fix flake8 E203
  ([`595c318`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/595c31884bca7f34212d5ea2c5798b4ea55613c3))

- Fix flake8 E501
  ([`986bb25`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/986bb25c2481cb5612314a05ccf4d4c8847d4085))

- More lint
  ([`0ef1f3b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/0ef1f3bd6c08c45eb7aa6d4362b494dacaa5400c))

- More lint
  ([`59c6ade`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/59c6ade0a6623683c5e7213493db9c8b30d43bd6))

- More lint
  ([`49e4ad5`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/49e4ad5c6c8db0d10f5bec74a51140c9b90be089))

- More lint
  ([`43f5d82`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/43f5d82cb0619727d8728cdb6e674e0fcf02ed8e))

- More mypy cleanup
  ([`2b65b45`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/2b65b4565439092c512113e2ee7ce509c08fe356))

- Reset changelog
  ([`bfe7793`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bfe77939cd02c26e82d338b6987df0741038e3b0))

- Reset version number
  ([`dec6b69`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/dec6b69f60781ec37a4fabf0352b194c0a12818d))

- Run isort
  ([`890b72d`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/890b72d25e0e78e14a3fa35dd4c40b837adad731))

- Spelling
  ([`bf2c604`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/bf2c6049df43e8256a9b28235876dc3b390740cb))

- Spelling
  ([`483b17b`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/483b17b0b5f7d6c7ee7502f67a2731552ba9d2d1))

- Start mypy cleanup
  ([`88a13e9`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/88a13e9debe3b54bc743c23fae4cc6e343f549b1))

- Upgrade sensor-state-data>=2.0
  ([`59f2d00`](https://github.com/Bluetooth-Devices/xiaomi-ble/commit/59f2d0056b52238e02343c3d70d57eda3d1c2301))
