diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7e67dfe --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Main +on: + schedule: + - cron: '0 1 * * *' + push: + branches: + - dev + - main + pull_request: +jobs: + validate: + name: Validate + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v2" + - uses: "home-assistant/actions/hassfest@master" + - name: HACS Action + uses: "hacs/action@main" + with: + category: "integration" diff --git a/custom_components/ohme/manifest.json b/custom_components/ohme/manifest.json index f1d0276..7c13dda 100644 --- a/custom_components/ohme/manifest.json +++ b/custom_components/ohme/manifest.json @@ -1,13 +1,14 @@ { + "domain": "ohme", + "name": "Ohme", "codeowners": [ "@dan-r" ], "config_flow": true, "dependencies": [], "documentation": "https://github.com/dan-r/HomeAssistant-Ohme", - "domain": "ohme", "iot_class": "cloud_polling", - "name": "Ohme", + "issue_tracker": "https://github.com/dan-r/HomeAssistant-Ohme/issues", "requirements": [], "version": "1.0.0" -} \ No newline at end of file +} diff --git a/hacs.json b/hacs.json index d9194c7..f942087 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,5 @@ { - "name": "Ohme EV Charger", + "name": "Ohme", "render_readme": true, - "iot_class": "cloud_polling" -} \ No newline at end of file + "homeassistant": "2023.9.0" +}