Skip to content

Commit a4df609

Browse files
authored
Merge pull request #14 from mchwalisz/hacs-actions
added hacs gitub actions
2 parents e57741d + e2f2a7d commit a4df609

4 files changed

Lines changed: 36 additions & 3 deletions

File tree

.github/workflows/hacs.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: HACS Action
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 0 * * *"
8+
9+
jobs:
10+
hacs:
11+
name: HACS Action
12+
runs-on: "ubuntu-latest"
13+
steps:
14+
- uses: "actions/checkout@v2"
15+
- name: HACS Action
16+
uses: "hacs/action@main"
17+
with:
18+
category: "integration"

.github/workflows/hassfest.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Validate with hassfest
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '0 0 * * *'
8+
9+
jobs:
10+
validate:
11+
runs-on: "ubuntu-latest"
12+
steps:
13+
- uses: "actions/checkout@v2"
14+
- uses: "home-assistant/actions/hassfest@master"

custom_components/senec/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"@mchwalisz"
1313
],
1414
"iot_class": "local_polling",
15-
"version": "0.0.1"
15+
"version": "1.0.1"
1616
}

hacs.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "Senec solar system sensor",
3-
"country": "DE",
3+
"country": ["DE"],
44
"domains": ["sensor"],
5-
"homeassistant": "0.115",
5+
"homeassistant": "2021.9.7",
6+
"hacs": "1.18.0",
67
"render_readme": true,
78
"iot_class": ["Assumed State", "Local Pull"]
89
}

0 commit comments

Comments
 (0)