We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79afb72 commit 05dad91Copy full SHA for 05dad91
.github/workflows/new_device.yml
@@ -25,7 +25,7 @@ jobs:
25
- name: Set up python 3.12
26
uses: actions/setup-python@v5
27
with:
28
- python-version: '3.12'
+ python-version: "3.12"
29
30
- name: Update JSON file
31
id: update-json
@@ -53,6 +53,10 @@ jobs:
53
if new_device.get("hw_version", "MISSING").strip() == "":
54
del new_device["hw_version"]
55
56
+ # Fix common typo in battery type
57
+ if new_device.get("battery_type", "").lower() == "rechargable":
58
+ new_device["battery_type"] = "Rechargeable"
59
+
60
# Check for duplicates and replace old entry with new one
61
duplicate_found = False
62
for i, device in enumerate(devices):
0 commit comments