Skip to content

Commit

Permalink
Added HACS actions (#2)
Browse files Browse the repository at this point in the history
* Add HACS workflows

* Update manifest.json

* Fix action failures
  • Loading branch information
dan-r committed Dec 27, 2023
1 parent b2e273b commit 0dba935
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Main
on:
schedule:
- cron: '0 1 * * *'
push:
branches:
- dev
- main
pull_request:
jobs:
validate:
name: Validate
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "home-assistant/actions/hassfest@master"
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
7 changes: 4 additions & 3 deletions custom_components/ohme/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"domain": "ohme",
"name": "Ohme",
"codeowners": [
"@dan-r"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/dan-r/HomeAssistant-Ohme",
"domain": "ohme",
"iot_class": "cloud_polling",
"name": "Ohme",
"issue_tracker": "https://github.com/dan-r/HomeAssistant-Ohme/issues",
"requirements": [],
"version": "1.0.0"
}
}
6 changes: 3 additions & 3 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Ohme EV Charger",
"name": "Ohme",
"render_readme": true,
"iot_class": "cloud_polling"
}
"homeassistant": "2023.9.0"
}

0 comments on commit 0dba935

Please sign in to comment.