diff --git a/.github/workflows/hassfest.yaml b/.github/workflows/hassfest.yaml new file mode 100644 index 0000000..07d1dda --- /dev/null +++ b/.github/workflows/hassfest.yaml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89c66ac..c8e920d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,6 +33,8 @@ repos: - id: check-yaml + - id: check-json + - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.39.0 hooks: diff --git a/custom_components/sunpower/manifest.json b/custom_components/sunpower/manifest.json index ecf56e9..ad7282e 100644 --- a/custom_components/sunpower/manifest.json +++ b/custom_components/sunpower/manifest.json @@ -1,14 +1,15 @@ { - "version": "2024.4.2", "domain": "sunpower", "name": "sunpower", + "codeowners": ["@krbaker"], "config_flow": true, + "dependencies": [], "documentation": "https://github.com/krbaker/hass-sunpower", + "homekit": {}, + "iot_class": "cloud_polling", + "issue_tracker": "https://github.com/krbaker/hass-sunpower/issues", "requirements": ["requests"], "ssdp": [], - "zeroconf": [], - "homekit": {}, - "dependencies": [], - "codeowners": ["@krbaker"], - "issue_tracker": "https://github.com/krbaker/hass-sunpower/issues" + "version": "2024.4.2", + "zeroconf": [] }