Skip to content

Commit

Permalink
update new-device.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Dec 15, 2023
1 parent d451e5f commit 81cc448
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/new-device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
if not duplicate_found:
devices.append(new_device)
print(f"manufacturer={device["manufacturer"]} >> $GITHUB_OUTPUT")
print(f"model={device["model"]} >> $GITHUB_OUTPUT")
# Save manufacturer and model info as outputs
print(f"::set-output name=manufacturer::{new_device['manufacturer']}")
print(f"::set-output name=model::{new_device['model']}")
with open("custom_components/battery_notes/data/library.json", "w") as f:
f.write(json.dumps(devices_json, indent=2))
Expand Down

0 comments on commit 81cc448

Please sign in to comment.