Skip to content

Commit

Permalink
add Alarm Panel package manifest for HPM
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed Sep 27, 2024
1 parent a184ebe commit 9966a73
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 6 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Build ESPHomeApiHelper bundle
run: |
mkdir EspHomeApiHelper
cp bundles/esphome-api-helper.txt EspHomeApiHelper/install.txt
cp bundles/esphome-api-helper.txt EspHomeApiHelper/update.txt
wget -O EspHomeApiHelper/esphome.espHomeApiHelper.groovy https://raw.githubusercontent.com/konnected-io/hubitat-public/refs/heads/main/ESPHome/ESPHome-API-Library.groovy
- name: Build GDOv1-S bundle
run: |
mkdir GarageDoorOpenerGDOv1S
Expand Down Expand Up @@ -43,6 +50,13 @@ jobs:
cp drivers/konnected-alarm-panel.groovy AlarmPanel/konnected.KonnectedAlarmPanel.groovy
wget -O AlarmPanel/esphome.espHomeApiHelper.groovy https://raw.githubusercontent.com/konnected-io/hubitat-public/refs/heads/main/ESPHome/ESPHome-API-Library.groovy
- name: Zip EspHomeApiHelper
uses: thedoctor0/[email protected]
with:
type: 'zip'
directory: EspHomeApiHelper
filename: ESPHome-API-Library-Bundle.zip

- name: Zip GDOv1-S
uses: thedoctor0/[email protected]
with:
Expand Down Expand Up @@ -70,7 +84,14 @@ jobs:
type: 'zip'
directory: AlarmPanel
filename: AlarmPanel.zip


- name: Upload EspHomeApiHelper
uses: Shopify/[email protected]
with:
name: ESPHome-API-Library-Bundle.zip
path: EspHomeApiHelper/ESPHome-API-Library-Bundle.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload GDOv1-S
uses: Shopify/[email protected]
with:
Expand Down
3 changes: 3 additions & 0 deletions bundles/esphome-api-helper.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
esphome
espHomeApiHelperLibrary
library esphome.espHomeApiHelper.groovy
4 changes: 2 additions & 2 deletions hpm-repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"category": "Integrations",
"tags": ["Garage Doors"],
"location": "https://raw.githubusercontent.com/konnected-io/konnected-hubitat/master/package-gdov1s.json",
"description": "Integrate the Konnected Garage Door Opener GDOv1-S"
"description": "Integrate the Konnected GDO White (GDOv1-S)"
},
{
"id": "01ab08a8-1ad3-44ea-ae68-47482773940e",
"name": "Garage Door Opener White (GDOv2-S)",
"category": "Integrations",
"tags": ["Garage Doors"],
"location": "https://raw.githubusercontent.com/konnected-io/konnected-hubitat/master/package-gdov2s.json",
"description": "Integrate the Konnected Garage Door Opener GDOv2-S"
"description": "Integrate the Konnected GDO White (GDOv2-S)"
},
{
"id": "9f9d9a0c-ee29-4e5d-8c52-48d5b3fc8e0f",
Expand Down
25 changes: 25 additions & 0 deletions package-alarm-panel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"packageName": "Alarm Panel (universal)",
"author": "Konnected Inc.",
"version": "0.1",
"minimumHEVersion": "0.0",
"dateReleased": "2024-09-27",
"bundles": [
{
"id": "948fa4dc-8209-442b-b590-749f0ae899a0",
"name": "espHomeApiHelperLibrary",
"namespace": "esphome",
"location": "https://github.com/konnected-io/konnected-hubitat/releases/latest/download/ESPHome-API-Library-Bundle.zip",
"required": true
}
],
"drivers": [
{
"id": "353b5525-8943-4a2c-9f1b-e51c5265ce33",
"name": "",
"namespace": "",
"location": "https://raw.githubusercontent.com/konnected-io/konnected-hubitat/master/drivers/konnected-alarm-panel.groovy",
"required": true
}
]
}
2 changes: 1 addition & 1 deletion package-gdov1s.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "948fa4dc-8209-442b-b590-749f0ae899a0",
"name": "espHomeApiHelperLibrary",
"namespace": "esphome",
"location": "https://raw.githubusercontent.com/bradsjm/hubitat-drivers/main/ESPHome/ESPHome-API-Library-Bundle.zip",
"location": "https://github.com/konnected-io/konnected-hubitat/releases/latest/download/ESPHome-API-Library-Bundle.zip",
"required": true
}
],
Expand Down
2 changes: 1 addition & 1 deletion package-gdov2q.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "948fa4dc-8209-442b-b590-749f0ae899a0",
"name": "espHomeApiHelperLibrary",
"namespace": "esphome",
"location": "https://raw.githubusercontent.com/bradsjm/hubitat-drivers/main/ESPHome/ESPHome-API-Library-Bundle.zip",
"location": "https://github.com/konnected-io/konnected-hubitat/releases/latest/download/ESPHome-API-Library-Bundle.zip",
"required": true
}
],
Expand Down
2 changes: 1 addition & 1 deletion package-gdov2s.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "948fa4dc-8209-442b-b590-749f0ae899a0",
"name": "espHomeApiHelperLibrary",
"namespace": "esphome",
"location": "https://raw.githubusercontent.com/bradsjm/hubitat-drivers/main/ESPHome/ESPHome-API-Library-Bundle.zip",
"location": "https://github.com/konnected-io/konnected-hubitat/releases/latest/download/ESPHome-API-Library-Bundle.zip",
"required": true
}
],
Expand Down

0 comments on commit 9966a73

Please sign in to comment.