Skip to content

Commit

Permalink
Prepare for HACS
Browse files Browse the repository at this point in the history
  • Loading branch information
jvitkauskas committed Dec 19, 2023
1 parent 9e693f4 commit 0f82c0d
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 9 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/hacs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HACS Action

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

jobs:
hacs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- 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@v4"
- uses: "home-assistant/actions/hassfest@master"
12 changes: 6 additions & 6 deletions custom_components/blauberg_s21/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"domain": "blauberg_s21",
"name": "Blauberg S21",
"codeowners": ["@jvitkauskas"],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/jvitkauskas/homeassistant_blauberg_s21",
"homekit": {},
"iot_class": "local_polling",
"issue_tracker": "https://github.com/jvitkauskas/homeassistant_blauberg_s21/issues",
"requirements": ["pybls21==3.0.4"],
"ssdp": [],
"zeroconf": [],
"homekit": {},
"dependencies": [],
"codeowners": ["@jvitkauskas"],
"iot_class": "local_polling",
"version": "0.1.3"
"version": "0.1.3",
"zeroconf": []
}
4 changes: 1 addition & 3 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"name": "Blauberg S21",
"render_readme": true,
"iot_class": "Local Polling",
"domains": ["climate"]
"render_readme": true
}

0 comments on commit 0f82c0d

Please sign in to comment.