diff --git a/.github/workflows/hacs.yml b/.github/workflows/hacs.yml new file mode 100644 index 0000000..8369e39 --- /dev/null +++ b/.github/workflows/hacs.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/hassfest.yml b/.github/workflows/hassfest.yml new file mode 100644 index 0000000..afbde1a --- /dev/null +++ b/.github/workflows/hassfest.yml @@ -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@v3" + - uses: "home-assistant/actions/hassfest@master" \ No newline at end of file diff --git a/custom_components/openwrt/manifest.json b/custom_components/openwrt/manifest.json index d918ff5..03e68ba 100644 --- a/custom_components/openwrt/manifest.json +++ b/custom_components/openwrt/manifest.json @@ -1,13 +1,13 @@ { "domain": "openwrt", "name": "OpenWrt", + "codeowners": ["@kvj"], + "config_flow": true, + "dependencies": [], "documentation": "https://github.com/kvj/hass_openwrt", + "iot_class": "local_polling", "issue_tracker": "https://github.com/kvj/hass_openwrt/issues", - "dependencies": [], - "codeowners": ["@kvj"], "requirements": [], - "iot_class": "local_polling", - "config_flow": true, "version": "0.0.2" } diff --git a/hacs.json b/hacs.json index d9ba268..d8f9d34 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,4 @@ { "name": "OpenWrt", - "domains": ["sensor"], "render_readme": true } \ No newline at end of file