Skip to content

Commit

Permalink
Merge branch 'main' into library
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Dec 12, 2023
2 parents 30f0b42 + fa7871c commit 0b6dd35
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/json_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ 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
uses: actions/setup-python@v5.0.0
with:
python-version: "3.11"
cache: "pip"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
18 changes: 17 additions & 1 deletion custom_components/battery_notes/data/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand All @@ -35,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)",
Expand Down Expand Up @@ -134,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)",
Expand Down Expand Up @@ -207,4 +223,4 @@
"battery_type": "CR2032"
}
]
}
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0b6dd35

Please sign in to comment.