From ef68b2716043535625399a161d2b7b4d1ad48b02 Mon Sep 17 00:00:00 2001 From: Wil T Date: Mon, 11 Dec 2023 12:13:47 -0500 Subject: [PATCH 1/6] add eWeLink DS01 zigbee door sensor --- custom_components/battery_notes/data/library.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index b8da4691c..e7872ca24 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -12,6 +12,11 @@ "battery_type": "AAA", "battery_quantity": 2 }, + { + "manufacturer": "eWeLink", + "model": "DS01", + "battery_type": "CR2032" + }, { "manufacturer": "Fantem", "model": "4 in 1 multi sensor (ZB003-X)", @@ -207,4 +212,4 @@ "battery_type": "CR2032" } ] -} \ No newline at end of file +} From b270e8109132c9f43b8f80e686de6b547d44cee8 Mon Sep 17 00:00:00 2001 From: Wil T Date: Mon, 11 Dec 2023 12:14:53 -0500 Subject: [PATCH 2/6] add LUMI lumi.weather zigbee temp/humidity sensor --- custom_components/battery_notes/data/library.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index e7872ca24..de5ee6063 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -40,6 +40,11 @@ "battery_type": "AA", "battery_quantity": 4 }, + { + "manufacturer": "LUMI", + "model": "lumi.weather", + "battery_type": "CR2032" + }, { "manufacturer": "OSRAM", "model": "Smart+ switch mini (AC0251100NJ/AC0251600NJ/AC0251700NJ)", From e78e5f94d84fd1c8dc21943282b017c30c6006a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:19:43 +0000 Subject: [PATCH 3/6] Bump ruff from 0.1.6 to 0.1.7 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.6 to 0.1.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.6...v0.1.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index dd7c228d4..f52ed9d17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ colorlog==6.8.0 homeassistant==2023.7.0 pip>=21.0,<23.4 -ruff==0.1.6 +ruff==0.1.7 From 7d2021ac710c4e169fb2bac7e467c1d8ba6bd97c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:40:21 +0000 Subject: [PATCH 4/6] Bump actions/checkout from 1 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 1 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/v1...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/json_validate.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/validate.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/json_validate.yml b/.github/workflows/json_validate.yml index 1b8fa1f33..ef4fa18d6 100644 --- a/.github/workflows/json_validate.yml +++ b/.github/workflows/json_validate.yml @@ -14,7 +14,7 @@ jobs: verify-json-validation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Validate JSON uses: ScratchAddons/validate-json-action@master with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f96236bf6..a337697ff 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v4.1.1" + uses: "actions/checkout@v4" - name: "Set up Python" uses: actions/setup-python@v4.7.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d68c9d0be..926629759 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: contents: write steps: - name: "Checkout the repository" - uses: "actions/checkout@v4.1.1" + uses: "actions/checkout@v4" - name: "Adjust version number" shell: "bash" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 502f5dd5a..1ef40ce50 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v4.1.1" + uses: "actions/checkout@v4" - name: "Run hassfest validation" uses: "home-assistant/actions/hassfest@master" @@ -27,7 +27,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout the repository" - uses: "actions/checkout@v4.1.1" + uses: "actions/checkout@v4" - name: "Run HACS validation" uses: "hacs/action@main" From 9bf8cfc000c286e1ad9c7993731a06f008a2e3bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:40:25 +0000 Subject: [PATCH 5/6] Bump actions/setup-python from 4.7.1 to 5.0.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.1 to 5.0.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4.7.1...v5.0.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f96236bf6..eff287ca0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: uses: "actions/checkout@v4.1.1" - name: "Set up Python" - uses: actions/setup-python@v4.7.1 + uses: actions/setup-python@v5.0.0 with: python-version: "3.11" cache: "pip" From eb4a40d3017626b3a7777c4cfe889c426cdbdfb3 Mon Sep 17 00:00:00 2001 From: Wil T Date: Mon, 11 Dec 2023 16:21:37 -0500 Subject: [PATCH 6/6] add VictorPest.com Rat Trap --- custom_components/battery_notes/data/library.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom_components/battery_notes/data/library.json b/custom_components/battery_notes/data/library.json index de5ee6063..c51e67b39 100644 --- a/custom_components/battery_notes/data/library.json +++ b/custom_components/battery_notes/data/library.json @@ -144,6 +144,12 @@ "model": "Wireless switch with 4 buttons (TS0044)", "battery_type": "CR2430" }, + { + "manufacturer": "VictorPest.com", + "model": "Rat Trap", + "battery_type": "C", + "battery_quantity": 4 + }, { "manufacturer": "Xiaomi", "model": "Aqara door & window contact sensor (MCCGQ11LM)",