Skip to content

Commit

Permalink
Prepare default integration (#15)
Browse files Browse the repository at this point in the history
* added workflow files for HACS validation
* ready for HACS default
  • Loading branch information
alex-jung authored Dec 15, 2024
1 parent 13f2881 commit 133c80e
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 19 deletions.
8 changes: 0 additions & 8 deletions .devcontainer/configuration.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .devcontainer/devcontainer.json

This file was deleted.

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:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "home-assistant/actions/hassfest@master"
18 changes: 18 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate

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

jobs:
validate-hacs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"
5 changes: 1 addition & 4 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"name": "Public Transport Departures",
"hacs": "1.6.0",
"domains": ["sensor"],
"iot_class": "Cloud Polling",
"homeassistant": "0.118.0"
"country": "DE"
}

0 comments on commit 133c80e

Please sign in to comment.