Skip to content

Commit

Permalink
Merge pull request #14 from mchwalisz/hacs-actions
Browse files Browse the repository at this point in the history
added hacs gitub actions
  • Loading branch information
mchwalisz committed Jan 1, 2022
2 parents e57741d + e2f2a7d commit a4df609
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/hacs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: HACS Action

on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"

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

on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "home-assistant/actions/hassfest@master"
2 changes: 1 addition & 1 deletion custom_components/senec/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"@mchwalisz"
],
"iot_class": "local_polling",
"version": "0.0.1"
"version": "1.0.1"
}
5 changes: 3 additions & 2 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "Senec solar system sensor",
"country": "DE",
"country": ["DE"],
"domains": ["sensor"],
"homeassistant": "0.115",
"homeassistant": "2021.9.7",
"hacs": "1.18.0",
"render_readme": true,
"iot_class": ["Assumed State", "Local Pull"]
}

0 comments on commit a4df609

Please sign in to comment.