Co-authored-by: Ernst ernst.klamer@rhdhv.com
- Add hs1bb_mi to sleepy devices list
(
aa944d9)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: zry98 dev@zry.io
-
Update dependabot.yml to include GHA (
67fe52b)
Bumps orjson from 3.10.15 to 3.10.16. - Release notes - Changelog - Commits
--- 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>
- chore(deps-ci): bump the github-actions group with 8 updates
Bumps the github-actions group with 8 updates:
| Package | From | To | | --- | --- | --- | |
actions/checkout | 3 | 4 | |
actions/setup-python | 3 | 5 | |
pre-commit/action | 3.0.0 | 3.0.1 | |
wagoid/commitlint-github-action | 5 | 6
| | codecov/codecov-action | 3 | 5 | |
relekang/python-semantic-release | 7.34.6
| 9.21.0 | |
browniebroke/hacktoberfest-labeler-action
| 2.2.0 | 2.3.0 | | tiangolo/issue-manager |
0.4.0 | 0.5.1 |
Updates actions/checkout from 3 to 4 - Release
notes -
Changelog -
Commits
Updates actions/setup-python from 3 to 5 - Release
notes -
Commits
Updates pre-commit/action from 3.0.0 to 3.0.1 - Release
notes -
Commits
Updates wagoid/commitlint-github-action from 5 to 6 -
Changelog -
Commits
Updates codecov/codecov-action from 3 to 5 - Release
notes -
Changelog -
Commits
Updates relekang/python-semantic-release from 7.34.6 to 9.21.0 - Release
notes -
Changelog
Updates browniebroke/hacktoberfest-labeler-action from 2.2.0 to 2.3.0 - Release
notes -
Changelog -
Commits
Updates tiangolo/issue-manager from 0.4.0 to 0.5.1 - Release
notes -
Commits
--- 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
Bumps flake8 from 7.1.2 to 7.2.0. - Commits
--- 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>
-
Create dependabot.yml (
b291db2)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps aiohttp from 3.11.12 to 3.11.13. - Release notes - Changelog - Commits
--- 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>
--- 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,
8df0798) -
deps: Bump certifi from 2023.11.17 to 2024.7.4 (#116,
32ece70)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps jinja2 from 3.1.5 to 3.1.6. - Release notes - Changelog - Commits
--- 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps myst-parser from 1.0.0 to 3.0.1. - Release notes - Changelog - Commits
--- 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps sphinx-rtd-theme from 1.3.0 to 2.0.0. - Changelog - Commits
--- 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps flake8 from 7.1.1 to 7.1.2. - Commits
--- 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>
Bumps isort from 5.13.2 to 6.0.0. - Release notes - Changelog - Commits
--- 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>
Bumps isort from 6.0.0 to 6.0.1. - Release notes - Changelog - Commits
--- 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>
Bumps mypy from 1.14.1 to 1.15.0. - Changelog - Commits
--- 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps pytest from 8.3.4 to 8.3.5. - Release notes - Changelog - Commits
--- 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>
Bumps pytest-cov from 4.1.0 to 6.0.0. - Changelog - Commits
--- 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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - github.com/commitizen-tools/commitizen: v3.30.1 → v3.31.0
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - github.com/asottile/pyupgrade: v3.19.0 → v3.19.1 - github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.0
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - github.com/commitizen-tools/commitizen: v4.2.1 → v4.4.1 - github.com/PyCQA/isort: 6.0.0 → 6.0.1
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - github.com/commitizen-tools/commitizen: v3.29.0 → v3.29.1 - github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0 - github.com/asottile/pyupgrade: v3.17.0 → v3.18.0 - github.com/psf/black-pre-commit-mirror: 24.8.0 → 24.10.0 - github.com/PyCQA/bandit: 1.7.9 → 1.7.10
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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/
this battery device is really a sleepy device. it won't broadcast any occupancy message unless it is changed.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.11.2
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Looks good :) thanks
- Extend battery level reading to gcls002
(
49530c5)
feat: extend battery level reading to gcls002
- feat: add support for RS1BB
-
feat: add ptx and xmpiro2sx
-
fix: rename ptx
- fix: handle jagged stairstep for LYWSD03MMC humidity
-
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
-
fix: proper event_properties formatting
-
fix: fix tests property_events
-
fix: formatting of the tests
-
fix: bump pycryptodomex
-
fix: update poetry lock file
-
chore: run poetry update
Co-authored-by: J. Nick Koston nick@koston.org
- Fix release
(
1d403f0)
fix: add unit of measurment to counter
-
feat: add support for toothbrushes
-
feat: add score sensor for toothbrushes
-
fix: precommit errors
-
feat: add mi scale v1
-
fix: check for mass not removed
-
fix: check for mass removed before reporting final data
-
fix: remove some dependencies
-
fix: poetry lock
- feat: switch from pycryptodomex to cryptography for v4 and v5
-
fix: use sensor state data for scale sensors
-
chore: improve coverage
-
feat: add support for mi body composition scale 2
-
fix: correct scale device type
-
test: add test for scale parser
-
fix: add sleepy_device property
-
fix: shorten code
- Add updated lywsd02mmc device type and mmc w505 body temperature sensor
(
23f85e2)
-
fix: add sleepy devices
-
fix: use set for sleepy devices
-
Bump version (
f9d9eb9) -
Revert version bump (
51d208a) -
Revert version bump (
bd8f028) -
Update dependencies (
e0bce32)
-
fix: update poetry and pyproject file
-
fix: bump isort
-
fix: bump isort in precommit
feat(RTCGQ02LM): implement motion timeout
-
fix: extend binary sensor enums
-
fix: typo
-
fix: add base device class
-
fix: separate enum
-
fix: lower bleak dependency requirement
-
fix: bleak dependency
- feat: add new xiaomi sensors
-
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
-
feat: add support for HHCCJCY10
-
feat: add new device_classes
Co-authored-by: Ernst Klamer e.klamer@gmail.com
- Add linptech ms1bb and hs1bb
(
52a21dd)
-
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
- Set title and device name to something useful
(
73c4d4b)
- Black tests
(
09c0b0e)
- Never poll if still pending
(
f617708)
- Lint
(
346ceae)
-
Refactor tests to avoid mypy failure (
c1456d7) -
Track last full service info so that we can quickly reauth the bindkey (
c4feb20)
- Unset bindkey_verified if bindkey starts to fail
(
d2fc9eb)
- Voltage sensor should have a device class
(
600bb78)
- Lint fixes
(
667239b)
- Add Formaldehyde, Consumable and Voltage sensor
(
8292de7)
- Add special casing for when illumination is used for a binary sensor instead of a sensor
(
59c5729)
- Unset bindkey_verified on legacy devices if payload is corrupt as may be wrong key
(
f57827a)
- New bindkey_verified variable to track whether encryption is working
(
dc622a5)
- Hide encrypted devices on macOS where we don't know MAC address (for now)
(
20d0e62)
- Expose type of encryption to use on XiaomiBluetoothDeviceData
(
935482d)
- Fix lints
(
7511a1a)
- Add support for more sensor types
(
0a87594)
- Workaround not knowing MAC on macOS
(
adcb639)
- Trim service uuid from start of service data
(
8c35dc1)
- Re-export sensor state classes like other bluetooth helpers
(
b7b97ba)
-
Get remaining tests working (
8a042e4) -
Give all tests right MAc, so validation passes on linux (
da76a1d) -
Use fromutctimestamp for stable tests (
c1e574c)
-
init version number (
af8812d) -
Fix flake8 E203 (
595c318) -
Fix flake8 E501 (
986bb25) -
More lint (
0ef1f3b) -
More lint (
59c6ade) -
More lint (
49e4ad5) -
More lint (
43f5d82) -
More mypy cleanup (
2b65b45) -
Reset changelog (
bfe7793) -
Reset version number (
dec6b69) -
Run isort (
890b72d) -
Spelling (
bf2c604) -
Spelling (
483b17b) -
Start mypy cleanup (
88a13e9) -
Upgrade sensor-state-data>=2.0 (
59f2d00)