Skip to content

Commit

Permalink
Merge pull request #1 from gagata/gagata-ci
Browse files Browse the repository at this point in the history
Add HACS required CI jobs
  • Loading branch information
gagata authored Dec 1, 2024
2 parents ceea23e + 8675aaf commit b24a45c
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/hacs-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: HACS Action

on:
push:

jobs:
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
ignore: "brands"
14 changes: 14 additions & 0 deletions .github/workflows/hassfest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Validate with hassfest

on:
push:

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
with:
path: "smarthub"
- name: Validate with hassfest
uses: "home-assistant/actions/hassfest@master"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
__pycache__/
*swp
7 changes: 7 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "SmartHub Coop Integration",
"content_in_root": true,
"render_readme": true,
"country": ["US"],
"hide_default_branch": false
}
12 changes: 7 additions & 5 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"domain": "smarthub",
"name": "SmartHub Coop Energy",
"version": "1.0.0",
"documentation": "https://github.com/gagata/ha-smarthub-energy-sensor",
"requirements": ["requests"],
"dependencies": [],
"codeowners": ["@gagata"],
"config_flow": true
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/gagata/ha-smarthub-energy-sensor",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/gagata/ha-smarthub-energy-sensor/issues",
"requirements": ["aiohttp"],
"version": "1.0.0"
}

0 comments on commit b24a45c

Please sign in to comment.